Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / response-file-errs.c
blobb78c86f4bdd5d20aa4463a2bedb0bb6061a3f9a2
1 // AIX reacts on opening directory differently than other systems.
2 // XFAIL: system-aix
4 // If response file does not exist, '@file; directive remains unexpanded in
5 // command line.
6 //
7 // RUN: not %clang @%S/Inputs/inexistent.rsp -### 2>&1 | FileCheck --check-prefix=INEXISTENT %s
8 // INEXISTENT: @{{.*}}Inputs/inexistent.rsp
10 // As the above case but '@file' is in response file.
12 // RUN: not %clang @%S/Inputs/inc-inexistent.rsp -### 2>&1 | FileCheck --check-prefix=INEXISTENT2 %s
13 // INEXISTENT2: @{{.*}}inexistent.txt
15 // If file in `@file` is a directory, it is an error.
17 // RUN: not %clang @%S/Inputs -### 2>&1 | FileCheck --check-prefix=DIRECTORY %s
18 // DIRECTORY: cannot not open file '{{.*}}Inputs': {{[Ii]}}s a directory