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

10 lines
178 B
C

// 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()