summaryrefslogtreecommitdiff
path: root/test/pecoff/responsefile.test
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-03-24 21:31:36 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-03-24 21:31:36 +0000
commitfb911942f1434f3d1750f83f25f5e42c80e60638 (patch)
tree1678c4a4f0182e4029a86d135aa4a1b7d09e3c41 /test/pecoff/responsefile.test
Notes
Diffstat (limited to 'test/pecoff/responsefile.test')
-rw-r--r--test/pecoff/responsefile.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pecoff/responsefile.test b/test/pecoff/responsefile.test
new file mode 100644
index 0000000000000..6a5da298e730b
--- /dev/null
+++ b/test/pecoff/responsefile.test
@@ -0,0 +1,7 @@
+# RUN: yaml2obj %p/Inputs/hello.obj.yaml > %t.obj
+# RUN: not lld -flavor link /verbose @%p/Inputs/responsefile.txt >& %t.log
+# RUN: FileCheck %s < %t.log
+
+CHECK: warning: ignoring unknown argument: -foo
+CHECK: warning: ignoring unknown argument: -bar\baz
+Command line: link /verbose -foo -bar\baz