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