• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
7target triple = "wasm32-unknown-unknown"
8
9define i32 @main(i32 %a, i8** %b, i8** %c) {
10  ret i32 0
11}
12
13; CHECK-LABEL: main:
14; CHECK-NEXT: .functype main (i32, i32, i32) -> (i32)
15
16; CHECK-NOT: __original_main:
17