[AArch64][SME2] Add multi-vector saturating doubling multiply high intrinsics
[llvm-project.git] / lld / test / wasm / weak-and-strong-undef.s
blobd16ccc5cf8f544f8556cae05b1c4fc0808986dae
1 # Test that when a symbol (foo) is both weakly and strongly referenced
2 # the strong undefined symbol always generates an error, whichever object
3 # file is seen first.
5 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %s -o %t1.o
6 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %S/Inputs/weak-undefined.s -o %t2.o
7 # RUN: not wasm-ld %t1.o %t2.o -o /dev/null 2>&1 | FileCheck %s
8 # RUN: not wasm-ld %t2.o %t1.o -o /dev/null 2>&1 | FileCheck %s
10 # CHECK: undefined symbol: foo
12 .functype foo () -> ()
14 _start:
15 .globl _start
16 .functype _start () -> ()
17 call foo
18 end_function