aboutsummaryrefslogtreecommitdiff
path: root/test/Other/ResponseFile.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Other/ResponseFile.ll')
-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 000000000000..b8b3d0a90233
--- /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
+}