Home | History | Annotate | Download | only in Driver
      1 // RUN: touch %t.o
      2 // RUN: not %clang -DCRASH -o %t.o -MMD -MF %t.d %s
      3 // RUN: test ! -f %t.o
      4 // RUN: test ! -f %t.d
      5 
      6 // RUN: touch %t.o
      7 // RUN: not %clang -DMISSING -o %t.o -MMD -MF %t.d %s
      8 // RUN: test ! -f %t.o
      9 // RUN: test ! -f %t.d
     10 
     11 // RUN: touch %t.o
     12 // RUN: not %clang -o %t.o -MMD -MF %t.d %s
     13 // RUN: test ! -f %t.o
     14 // RUN: test -f %t.d
     15 
     16 // REQUIRES: shell
     17 // REQUIRES: crash-recovery
     18 
     19 #ifdef CRASH
     20 #pragma clang __debug crash
     21 #elif defined(MISSING)
     22 #include "nonexistent.h"
     23 #else
     24 invalid C code
     25 #endif
     26