summaryrefslogtreecommitdiffstats
path: root/test cases/unit/30 shared_mod linking/main.c
blob: 12f9c984b97618834cae07f9e9f9a723598cbb2e (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();

int main(int argc, char **arg) {
    return func();
}