
Since we a no longer using this function for the wasm start section we don't actually care what its signature is. Differential Revision: https://reviews.llvm.org/D46594 llvm-svn: 332308
11 lines
255 B
LLVM
11 lines
255 B
LLVM
; 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
|
|
}
|