aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-10-09 19:52:10 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-10-09 19:52:10 +0000
commitb4e971f376f15325d6918d7fae0c28c8dad5a78c (patch)
treec3ea4ad641942c4252a68f96d45cd7bf786d0fd0 /test/Other
parent3a106e60366a51b4594ec303ff8dbbc58913227f (diff)
downloadexternal_llvm-b4e971f376f15325d6918d7fae0c28c8dad5a78c.zip
external_llvm-b4e971f376f15325d6918d7fae0c28c8dad5a78c.tar.gz
external_llvm-b4e971f376f15325d6918d7fae0c28c8dad5a78c.tar.bz2
Enable response files in all tools. Patch by Liu, Yaxun (Sam). I have simplified
the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/ResponseFile.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Other/ResponseFile.ll b/test/Other/ResponseFile.ll
new file mode 100644
index 0000000..b8b3d0a
--- /dev/null
+++ b/test/Other/ResponseFile.ll
@@ -0,0 +1,9 @@
+; RUN: echo %s > %t.list
+; RUN: llvm-as @%t.list -o %t.bc
+; RUN: llvm-nm %t.bc 2>&1 | FileCheck %s
+
+; CHECK: T foobar
+
+define void @foobar() {
+ ret void
+}