summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/AutoExportDll/foo.c
blob: 4b1318b9e916939514c3ec711288a4eefe109d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifdef _MSC_VER
#include "windows.h"
#else
#define WINAPI
#endif

int WINAPI foo()
{
  return 10;
}

int bar()
{
  return 5;
}