14 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s2# RUN: wasm-ld -o %t.wasm %t.o3# RUN: llvm-readobj --file-headers %t.wasm | FileCheck %s4 5 .globl _start6_start:7 .functype _start () -> ()8 end_function9 10# CHECK: Format: WASM11# CHECK: Arch: wasm3212# CHECK: AddressSize: 32bit13# CHECK: Version: 0x114