1 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
3 # By default all `default` symbols should be exported
4 # RUN: wasm-ld -shared --experimental-pic -o %t.wasm %t.o
5 # RUN: obj2yaml %t.wasm | FileCheck %s -check-prefix=DEFAULT
8 # Verify that `--no-export-dynamic` works with `-shared`
9 # RUN: wasm-ld -shared --experimental-pic --no-export-dynamic -o %t2.wasm %t.o
10 # RUN: obj2yaml %t2.wasm | FileCheck %s -check-prefix=NO-EXPORT
16 .functype foo () -> (i32)