aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-12 01:12:54 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-12 01:12:54 +0000
commit78732c2d8a5ac472e6963d36cf86fa1d40fb43f5 (patch)
treea9fb4afb821750665ba759cf1859b80fc0a9643a /test/Feature
parentf0dbf64d0c7fd2cf9e63f89d47dcb41f2ca36040 (diff)
downloadexternal_llvm-78732c2d8a5ac472e6963d36cf86fa1d40fb43f5.zip
external_llvm-78732c2d8a5ac472e6963d36cf86fa1d40fb43f5.tar.gz
external_llvm-78732c2d8a5ac472e6963d36cf86fa1d40fb43f5.tar.bz2
The hello pass actually requires a function to chew on!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/load_module.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Feature/load_module.ll b/test/Feature/load_module.ll
index 942390e..455614d 100644
--- a/test/Feature/load_module.ll
+++ b/test/Feature/load_module.ll
@@ -4,3 +4,8 @@
; RUN: -disable-output %t.bc 2>&1 | grep Hello
@junk = global i32 0
+
+define i32* @somefunk() {
+ ret i32* @junk
+}
+