summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Import/A/imp_mod1.c
blob: 579d949c3fc6492e0113e4d47cdc55d40b9c715c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#if defined(_WIN32) || defined(__CYGWIN__)
# define testExe2_IMPORT __declspec(dllimport)
#else
# define testExe2_IMPORT
#endif

testExe2_IMPORT int testExe2Func(void);
testExe2_IMPORT int testExe2lib(void);

int imp_mod1()
{
  return testExe2Func() + testExe2lib();
}