xref: /llvm-project/lld/test/wasm/version.s (revision fd1c894a4a3690b2e500bfdf71194e9cc3f1b399)
1# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
2# RUN: wasm-ld -o %t.wasm %t.o
3# RUN: llvm-readobj --file-headers %t.wasm | FileCheck %s
4
5  .globl  _start
6_start:
7  .functype _start () -> ()
8  end_function
9
10# CHECK: Format: WASM
11# CHECK: Arch: wasm32
12# CHECK: AddressSize: 32bit
13# CHECK: Version: 0x1
14