1 ; RUN: llc -filetype=obj -mtriple=wasm32-unknown-unknown -o %t.o %s
2 ; RUN: llvm-nm --extern-only %t.o | FileCheck %s
4 ; Verity that hidden symbols are listed even when --extern-only is passed
6 define hidden i32 @foo() {
16 define internal i32 @baz() {
21 ; CHECK: 00000006 T bar
23 ; CHECK: 00000001 T foo