repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[OpenACC] Treat 'delete' as a valid clause during parsing in C++ mode
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
WebAssembly
/
wasm-call-main.c
blob
f22ba651c9b1bf8096b55e77b59f063bd32e41b4
1
// RUN: %clang_cc1 -triple wasm32 -o - -emit-llvm %s | FileCheck %s
2
3
// Mangle argc/argv main even when it's not defined in this TU.
4
5
#include <stddef.h>
6
7
int
main
(
int
argc
,
char
*
argv
[]);
8
9
int
foo
(
void
) {
10
return
main
(
0
,
NULL
);
11
}
12
13
// CHECK: call i32 @__main_argc_argv(