1# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s 2# RUN: wasm-ld --export=get_handle %t.o -o %t.wasm 3 4 .globl get_handle 5get_handle: 6 .functype get_handle () -> (i32) 7 i32.const __dso_handle 8 end_function 9 10 .globl _start 11_start: 12 .functype _start () -> () 13 end_function 14