blob: 4c5f1ea213c2de58e9ea21c8f32099cf2589ccf0 [file] [log] [blame]
/* { dg-do compile } */
/* Check if entry points get implicit C linkage. If they don't, compiler will
* error on incompatible declarations */
int main();
extern "C" int main();
#ifdef __MINGW32__
int wmain();
extern "C" int wmain();
int DllMain();
extern "C" int DllMain();
int WinMain();
extern "C" int WinMain();
int wWinMain();
extern "C" int wWinMain();
#endif