c-semantics
c-semantics copied to clipboard
Linking should fail when `main` is defined both in C and C++.
This program should not link:
// a.c
int main(){return 0;}
// b.C
int main(){return 1;}
But with kcc -fno-native-compilation it builds and executes some main.