bolt/deps/llvm-18.1.8/lld/test/wasm/entry-signature.s

10 lines
251 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
# Verify that the entry point signature can be flexible.
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
# RUN: wasm-ld -o %t1.wasm %t.o
.globl _start
_start:
.functype _start (i64) -> (f32)
f32.const 0.0
end_function