Peter Collingbourne | 5d4d980 | 2011-11-21 00:01:05 +0000 | [diff] [blame^] | 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 -o %t.o -MMD -MF %t.d %s | ||||
8 | // RUN: test ! -f %t.o | ||||
9 | // RUN: test -f %t.d | ||||
10 | |||||
11 | // REQUIRES: shell | ||||
12 | // REQUIRES: crash-recovery | ||||
13 | |||||
14 | // XFAIL: darwin | ||||
15 | |||||
16 | #ifdef CRASH | ||||
17 | #pragma clang __debug crash | ||||
18 | #else | ||||
19 | invalid C code | ||||
20 | #endif |