1 // If response file does not exist, '@file; directive remains unexpanded in
4 // RUN: not %clang @%S/Inputs/inexistent.rsp -### 2>&1 | FileCheck --check-prefix=INEXISTENT %s
5 // INEXISTENT: @{{.*}}Inputs/inexistent.rsp
7 // As the above case but '@file' is in response file.
9 // RUN: not %clang @%S/Inputs/inc-inexistent.rsp -### 2>&1 | FileCheck --check-prefix=INEXISTENT2 %s
10 // INEXISTENT2: @{{.*}}inexistent.txt
12 // If file in `@file` is a directory, it is an error.
14 // RUN: not %clang @%S/Inputs -### 2>&1 | FileCheck -DMSG=%errc_EISDIR --check-prefix=DIRECTORY %s
15 // DIRECTORY: cannot not open file '{{.*}}Inputs': [[MSG]]