aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/at_file_missing.c
blob: 306c53bf8c757c1417d1c07c1cd3c25bd18ddd3d (plain)
1
2
3
4
5
6
7
8
9
10
11
// Make sure that arguments that begin with @ are left as is in the argument
// stream, and also that @file arguments continue to be processed.

// RUN: echo "-D FOO" > %t.args
// RUN: %clang -rpath @executable_path/../lib @%t.args %s -### 2>&1 | FileCheck %s \
// RUN:        --check-prefixes=%if system-aix %{CHECK-AIX,CHECK-ALL%} \
// RUN:        %else %{CHECK-ALL,CHECK%}

// CHECK-ALL: "-D" "FOO"
// CHECK: "-rpath" "@executable_path/../lib"
// CHECK-AIX: "-blibpath:@executable_path/../lib:/usr/lib:/lib"