summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/lto/Inputs/cache.ll
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/wasm/lto/Inputs/cache.ll')
-rw-r--r--lld/test/wasm/lto/Inputs/cache.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/lld/test/wasm/lto/Inputs/cache.ll b/lld/test/wasm/lto/Inputs/cache.ll
new file mode 100644
index 00000000000..a66f36aef9c
--- /dev/null
+++ b/lld/test/wasm/lto/Inputs/cache.ll
@@ -0,0 +1,10 @@
+target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
+target triple = "wasm32-unknown-unknown"
+
+define i32 @_start() {
+entry:
+ call void (...) @globalfunc()
+ ret i32 0
+}
+
+declare void @globalfunc(...)
OpenPOWER on IntegriCloud