[AArch64][SME2] Add multi-vector saturating doubling multiply high intrinsics
[llvm-project.git] / lld / test / wasm / import-attribute-mismatch.s
blob59988dc62f08768e64b7cd2d610bad484b222058
1 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t1.o %s
2 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %S/Inputs/import-attributes.s -o %t2.o
3 # RUN: not wasm-ld --export call_foo --allow-undefined -o %t.wasm %t1.o %t2.o 2>&1 | FileCheck %s
5 .functype foo () -> ()
7 .globl _start
8 _start:
9 .functype _start () -> ()
10 call foo
11 end_function
13 .import_module foo, bar
15 # CHECK: wasm-ld: error: import module mismatch for symbol: foo
16 # CHECK: >>> defined as bar in {{.*}}1.o
17 # CHECK: >>> defined as baz in {{.*}}2.o