xref: /llvm-project/llvm/test/CodeGen/WebAssembly/main-three-args.ll (revision 73856247eef35f5336e485dc009842a5b991c421)
1; RUN: llc < %s -asm-verbose=false | FileCheck %s
2
3; Test that main function with a non-standard third argument is
4; not wrapped.
5
6target triple = "wasm32-unknown-unknown"
7
8define i32 @main(i32 %a, ptr %b, ptr %c) {
9  ret i32 0
10}
11
12; CHECK-LABEL: main:
13; CHECK-NEXT: .functype main (i32, i32, i32) -> (i32)
14
15; CHECK-NOT: __original_main:
16