summaryrefslogtreecommitdiff
path: root/test/wasm/Inputs/archive1.ll
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:21 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:21 +0000
commiteb1ff93d02b5f17b6b409e83c6d9be585f4a04b3 (patch)
tree7490b4a8943293f251ad733465936e6ec302b3e9 /test/wasm/Inputs/archive1.ll
parentbafea25f368c63f0b39789906adfed6e39219e64 (diff)
Notes
Diffstat (limited to 'test/wasm/Inputs/archive1.ll')
-rw-r--r--test/wasm/Inputs/archive1.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/wasm/Inputs/archive1.ll b/test/wasm/Inputs/archive1.ll
new file mode 100644
index 0000000000000..c942fa2c1b55c
--- /dev/null
+++ b/test/wasm/Inputs/archive1.ll
@@ -0,0 +1,7 @@
+declare i32 @bar() local_unnamed_addr #1
+
+define i32 @foo() local_unnamed_addr #0 {
+entry:
+ %call = tail call i32 @bar() #2
+ ret i32 %call
+}