aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/Feature/load_module.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Feature/load_module.ll b/test/Feature/load_module.ll
new file mode 100644
index 0000000..b229e26
--- /dev/null
+++ b/test/Feature/load_module.ll
@@ -0,0 +1,6 @@
+; PR1318
+; RUN: llvm-as < %s > %t.bc &&
+; RUN: opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \
+; RUN: -disable-output %t.bc | grep Hello
+
+@junk = global i32 0