summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/output-file-cleanup.c
blob: b4745e22473389731a8af625400b27ee0eba5e19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// RUN: touch %t.o
// RUN: not %clang -DCRASH -o %t.o -MMD -MF %t.d %s
// RUN: test ! -f %t.o
// RUN: test ! -f %t.d

// RUN: touch %t.o
// RUN: not %clang -o %t.o -MMD -MF %t.d %s
// RUN: test ! -f %t.o
// RUN: test -f %t.d

// REQUIRES: shell
// REQUIRES: crash-recovery

// XFAIL: darwin

#ifdef CRASH
#pragma clang __debug crash
#else
invalid C code
#endif
OpenPOWER on IntegriCloud