Files
swift-mirror/test/SILGen/Inputs/forward-to-foobar.c
Nate Chandler e21550ad90 [SILGen] Enable alternative entry point name.
Previously, the name of the entry point function was always main.  Here,
a new frontend flag is added to enable an arbitrary name to be
specified.

rdar://58275758
2021-01-26 10:43:33 -08:00

6 lines
112 B
C

extern int foobar(int argc, char *argv[]);
int main(int argc, char *argv[]) {
return foobar(argc, argv);
}