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