cmake/Tests/Jump/Executable/jumpExecutable.cxx

13 lines
210 B
C++
Raw Normal View History

#ifdef _WIN32
2018-08-09 18:06:22 +02:00
# define JUMP_IMPORT __declspec(dllimport)
#else
2018-08-09 18:06:22 +02:00
# define JUMP_IMPORT extern
#endif
extern int jumpStatic();
JUMP_IMPORT int jumpShared();
int main()
{
return jumpShared() && jumpShared();
}