summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/Inputs/import-attributes.ll
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/wasm/Inputs/import-attributes.ll')
-rw-r--r--lld/test/wasm/Inputs/import-attributes.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/lld/test/wasm/Inputs/import-attributes.ll b/lld/test/wasm/Inputs/import-attributes.ll
new file mode 100644
index 00000000000..27ee2774f22
--- /dev/null
+++ b/lld/test/wasm/Inputs/import-attributes.ll
@@ -0,0 +1,10 @@
+target triple = "wasm32-unknown-unknown"
+
+define void @call_foo() {
+ call void @foo();
+ ret void
+}
+
+declare void @foo() #0
+
+attributes #0 = { "wasm-import-module"="baz" }
OpenPOWER on IntegriCloud