summaryrefslogtreecommitdiff
path: root/test/wasm/Inputs/archive1.ll
diff options
context:
space:
mode:
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
+}