xref: /llvm-project/clang/test/CodeGen/WebAssembly/wasm-main.c (revision 822c5c50849a1f762c920d59baaa6a6edbb657ee)
1 // RUN: %clang_cc1 -triple wasm32 -o - -emit-llvm %s | FileCheck %s
2 
3 // Don't mangle the no-arg form of main.
4 
main(void)5 int main(void) {
6   return 0;
7 }
8 
9 // CHECK-LABEL: define i32 @main()
10