aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/WebAssembly/wasm-main.c
blob: 33dbdac2a5ba1c598df3ff4fa70398daf256cae2 (plain)
1
2
3
4
5
6
7
8
9
// 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()