summaryrefslogtreecommitdiff
path: root/test/CodeGen/WebAssembly/import-module.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/WebAssembly/import-module.ll')
-rw-r--r--test/CodeGen/WebAssembly/import-module.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/WebAssembly/import-module.ll b/test/CodeGen/WebAssembly/import-module.ll
index a8202a77acb5a..0cf0f2f25e0b9 100644
--- a/test/CodeGen/WebAssembly/import-module.ll
+++ b/test/CodeGen/WebAssembly/import-module.ll
@@ -12,8 +12,9 @@ define void @test() {
declare void @foo() #0
declare void @plain()
-attributes #0 = { "wasm-import-module"="bar" }
+attributes #0 = { "wasm-import-module"="bar" "wasm-import-name"="qux" }
; CHECK-NOT: .import_module plain
; CHECK: .import_module foo, bar
+; CHECK: .import_name foo, qux
; CHECK-NOT: .import_module plain