1 ; RUN: llc < %s -asm-verbose=false | FileCheck %s
3 ; Test main functions with alternate signatures.
5 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
6 target triple = "wasm32-unknown-unknown"
12 ; CHECK-LABEL: __original_main:
13 ; CHECK-NEXT: .functype __original_main () -> (i32)
14 ; CHECK-NEXT: i32.const 0
15 ; CHECK-NEXT: end_function
18 ; CHECK-NEXT: .functype main (i32, i32) -> (i32)
19 ; CHECK: call __original_main