| 1 |
// Make sure that arguments that begin with @ are left as is in the argument |
| 2 |
// stream, and also that @file arguments continue to be processed. |
| 3 |
|
| 4 |
// RUN: echo "-D FOO" > %t.args |
| 5 |
// RUN: %clang -rpath @executable_path/../lib @%t.args %s -### 2>&1 | FileCheck %s \ |
| 6 |
// RUN: --check-prefixes=%if system-aix %{CHECK-AIX,CHECK-ALL%} \ |
| 7 |
// RUN: %else %{CHECK-ALL,CHECK%} |
| 8 |
|
| 9 |
// CHECK-ALL: "-D" "FOO" |
| 10 |
// CHECK: "-rpath" "@executable_path/../lib" |
| 11 |
// CHECK-AIX: "-blibpath:@executable_path/../lib:/usr/lib:/lib" |