Files
CMake/Tests/RunCMake/AutoExportDll/foo.c
Brad King 3250b9a122 bindexplib: Revert support for constants symbols
Revert the main logic change of commit v3.9.0-rc1~192^2 (bindexplib: fix
constants symbols export, 2017-04-26) and its test case.  Unfortunately
some constants may be provided by multiple object files with different
`@...` suffixes, leading to ambiguous references.  Revert support
pending further investigation.

Fixes: #17045
2017-07-10 14:54:07 -04:00

16 lines
127 B
C

#ifdef _MSC_VER
#include "windows.h"
#else
#define WINAPI
#endif
int WINAPI foo()
{
return 10;
}
int bar()
{
return 5;
}