aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-11 21:14:53 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-11 21:14:53 +0000
commit2a70657b5fa1d9265307b9dffbbacf6991ae7152 (patch)
tree0ecbc14f8c0ec2390b89d0f3886d12c6f753b273 /test/Feature
parent3234b3e1f23a6fe5c6e39194ff8057aea951e869 (diff)
downloadexternal_llvm-2a70657b5fa1d9265307b9dffbbacf6991ae7152.zip
external_llvm-2a70657b5fa1d9265307b9dffbbacf6991ae7152.tar.gz
external_llvm-2a70657b5fa1d9265307b9dffbbacf6991ae7152.tar.bz2
Add a test case for PR1318.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-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