[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / wasm / demangle.s
blob995416eaf920a5bcfe5c36b3452731c35d947369
1 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
2 # RUN: not wasm-ld -o %t.wasm %t.o 2>&1 | FileCheck %s
4 # CHECK: error: {{.*}}.o: undefined symbol: foo(int)
6 # RUN: not wasm-ld --no-demangle \
7 # RUN: -o %t.wasm %t.o 2>&1 | FileCheck -check-prefix=CHECK-NODEMANGLE %s
9 # CHECK-NODEMANGLE: error: {{.*}}.o: undefined symbol: _Z3fooi
11 .functype _Z3fooi (i32) -> ()
13 .globl _start
14 _start:
15 .functype _start () -> ()
16 i32.const 1
17 call _Z3fooi
18 end_function