summaryrefslogtreecommitdiff
path: root/Tests/ObjectLibrary/mainAB.c
blob: 556898b8328a03ee0e4f6b3dade8aa3c5562b557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#if defined(_WIN32) && defined(SHARED_B)
# define IMPORT_B __declspec(dllimport)
#else
# define IMPORT_B
#endif
extern IMPORT_B int b1(void);
extern IMPORT_B int b2(void);
#ifndef NO_A
extern int a1(void);
extern int a2(void);
#endif
int main(void)
{
  return 0
#ifndef NO_A
    + a1()
    + a2()
#endif
    + b1()
    + b2()
    ;
}