summaryrefslogtreecommitdiffstats
path: root/Tests/ObjectLibrary/main.c
blob: 6819f1c6d78c5967cf05d3569a0188bce160554c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if defined(_WIN32) && defined(SHARED_C)
# define IMPORT_C __declspec(dllimport)
#else
# define IMPORT_C
#endif
extern IMPORT_C int b1(void);
extern IMPORT_C int b2(void);
extern IMPORT_C int c(void);
int main(void)
{
  return 0
    + c()
    + b1()
    + b2()
    ;
}