summaryrefslogtreecommitdiffstats
path: root/test cases/common/6 linkshared/main.c
blob: 77773274e9997b509a44a608e9881eac19e7a6e0 (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 func(void);

int main(void) {
    return func();
}