16 lines · plain
1; RUN: llc < %s -asm-verbose=false | FileCheck %s2 3; Test that main function with a non-standard third argument is4; not wrapped.5 6target triple = "wasm32-unknown-unknown"7 8define i32 @main(i32 %a, ptr %b, ptr %c) {9 ret i32 010}11 12; CHECK-LABEL: main:13; CHECK-NEXT: .functype main (i32, i32, i32) -> (i32)14 15; CHECK-NOT: __original_main:16