summaryrefslogtreecommitdiff
path: root/test/Driver/at_file.c.args
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-07-19 15:20:12 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-07-19 15:20:12 +0000
commit8a1af325b424c3cf62a6164a43466b473ec5a666 (patch)
treea18166e92257629e4d691e644d85acb6e620320b /test/Driver/at_file.c.args
parent7a42054b18b48ee0d09c7ecc65aaf283e5be78ec (diff)
downloadclang-8a1af325b424c3cf62a6164a43466b473ec5a666.tar.gz
clang-8a1af325b424c3cf62a6164a43466b473ec5a666.tar.bz2
clang-8a1af325b424c3cf62a6164a43466b473ec5a666.tar.xz
Implement support for reading arguments specified in a file with @file. If
there is no file named "file", keep the @file option unchanged. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/at_file.c.args')
-rw-r--r--test/Driver/at_file.c.args11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Driver/at_file.c.args b/test/Driver/at_file.c.args
new file mode 100644
index 0000000000..9a2b4ee93b
--- /dev/null
+++ b/test/Driver/at_file.c.args
@@ -0,0 +1,11 @@
+-Dfoo1=bar1 -Dfoo2="bar2 zed2"
+-Dfoo3='bar3 zed3'
+"-Dfoo4=bar4 zed4"
+'-Dfoo5=bar5 zed5'
+-Dfoo6="'bar6 zed6'"
+-Dfoo7='"bar7 zed7"'
+-Dfoo8=foo8"bar8"zed8
+-Dfoo9=foo9\'bar9\'zed9
+-Dfoo10=foo10\"bar10\"zed10
+-D foo11
+-Dfoo12=zed12\