[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / response-file-errs.c
blob0fd03ed08c04a2805637f3084ee4f0c33fc23577
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: %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: %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