xref: /llvm-project/lld/test/wasm/entry-signature.s (revision 9647a6f719ee4b1c23eea7aef368c1dcd5317949)
1# Verify that the entry point signature can be flexible.
2# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
3# RUN: wasm-ld -o %t1.wasm %t.o
4
5  .globl  _start
6_start:
7  .functype _start (i64) -> (f32)
8  f32.const 0.0
9  end_function
10