summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ExportImport/bar.c
blob: 19adca9cd39e7419ce3dc8e9be623d9407fb09f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#if defined(_WIN32)
__declspec(dllimport)
#endif
  int foo(void);

#ifdef _WIN32
__declspec(dllexport)
#endif
  int bar(void)
{
  return foo();
}