blob: 23645a5d3f93a23e890d6a63542b5d98ece6bcdf [file] [log] [blame]
Justin Bogner9ca8df12013-12-06 22:57:13 +00001// 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
Nico Weber197e5cf2016-04-26 20:40:23 +00004// RUN: echo "-D FOO" > %t.args
5// RUN: %clang -rpath @executable_path/../lib @%t.args %s -### 2>&1 | FileCheck %s
Justin Bogner9ca8df12013-12-06 22:57:13 +00006// CHECK: "-D" "FOO"
7// CHECK: "-rpath" "@executable_path/../lib"