aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/256 subproject extracted objects/foo.c
blob: f6c7aebe0488bbe63a1a162ad67652e6d777ce19 (plain)
1
2
3
4
5
6
7
8
9
10
11
#if defined _WIN32 || defined __CYGWIN__
  #define DLL_IMPORT __declspec(dllimport)
#else
  #define DLL_IMPORT
#endif

int DLL_IMPORT cppfunc(void);

int otherfunc(void) {
    return cppfunc() != 42;
}