1; RUN: llc < %s -asm-verbose=false -wasm-temporary-workarounds=false | FileCheck %s
2
3; Test main functions with alternate signatures.
4
5target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
6target triple = "wasm32-unknown-unknown"
7
8declare void @main()
9
10define void @foo() {
11  call void @main()
12  ret void
13}
14
15; CHECK-NOT:   __original_main
16; CHECK-LABEL: foo:
17; CHECK-NEXT:    call main@FUNCTION
18; CHECK-NEXT:    end_function
19; CHECK-NOT:   __original_main
20