llvm-for-llvmta/tools/clang/test/CodeGen/WebAssembly/wasm-main.c

10 lines
178 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -triple wasm32 -o - -emit-llvm %s | FileCheck %s
// Don't mangle the no-arg form of main.
int main(void) {
return 0;
}
// CHECK-LABEL: define i32 @main()