[flang] Fix crash in HLFIR generation (#118399)
[llvm-project.git] / clang / test / CodeGen / mangle-wasm-main.c
blob3a16d068666fa025c05ddc50c069770e7712dd9d
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=wasm32-unknown-unknown | FileCheck %s
3 int main(int argc, char* argv[]) {
4 return 0;
6 // CHECK-NOT: __main_void
7 // CHECK: define i32 @__main_argc_argv(i32 noundef %argc, ptr noundef %argv) #0 {