summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/entry-signature.ll
blob: 8e245b14e9640c181b9947f28021930163a751e2 (plain)
1
2
3
4
5
6
7
8
9
10
; Verify that the entry point signauture can be flexible.
; RUN: llc -filetype=obj %s -o %t.o
; RUN: wasm-ld -o %t1.wasm %t.o

target triple = "wasm32-unknown-unknown-wasm"

define hidden i32 @_start(i32, i64) local_unnamed_addr #0 {
entry:
  ret i32 0
}
OpenPOWER on IntegriCloud