2 // RUN: not %clang -S -DCRASH -o %t.s -MMD -MF %t.d %s
7 // RUN: not %clang -S -DMISSING -o %t.s -MMD -MF %t.d %s
12 // RUN: not %clang -S -o %t.s -MMD -MF %t.d %s
13 // RUN: test ! -f %t.s
16 // REQUIRES: crash-recovery
19 #pragma clang __debug crash
20 #elif defined(MISSING)
21 #include "nonexistent.h"
27 // RUN: echo "invalid C code" > %t2.c
28 // RUN: cd %T && not %clang -S %t1.c %t2.c
30 // RUN: test ! -f %t2.s
34 // RUN: chmod -r %t2.c
35 // RUN: cd %T && not %clang -S %t1.c %t2.c
37 // RUN: test ! -f %t2.s
40 // RUN: echo "invalid C code" > %t2.c
42 // RUN: echo "invalid C code" > %t4.c
44 // RUN: cd %T && not %clang -S %t1.c %t2.c %t3.c %t4.c %t5.c
46 // RUN: test ! -f %t2.s
48 // RUN: test ! -f %t4.s