From: Justin Bogner Date: Fri, 6 Dec 2013 22:57:13 +0000 (+0000) Subject: test/Driver: Check that @ arguments that aren't files are handled X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=279443da2f3938554c2e99abf77ff00acb3ec889;p=clang test/Driver: Check that @ arguments that aren't files are handled This tests the bug fix in llvm r196620. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196621 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/at_file_missing.c b/test/Driver/at_file_missing.c new file mode 100644 index 0000000000..0189a8bb75 --- /dev/null +++ b/test/Driver/at_file_missing.c @@ -0,0 +1,7 @@ +// 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 "%s -D FOO" > %t.args +// RUN: %clang -rpath @executable_path/../lib @%t.args -### 2>&1 | FileCheck %s +// CHECK: "-D" "FOO" +// CHECK: "-rpath" "@executable_path/../lib"