summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Export/testLibDepends.c
blob: 3c7774eedc4a00add6626ffa27676a076f680965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#include "testLibIncludeRequired1.h"
#include "testLibIncludeRequired2.h"
#include "testLibIncludeRequired4.h"

#ifndef testLibRequired_IFACE_DEFINE
#error Expected testLibRequired_IFACE_DEFINE
#endif

#ifndef BuildOnly_DEFINE
#error Expected BuildOnly_DEFINE
#endif

#ifdef InstallOnly_DEFINE
#error Unexpected InstallOnly_DEFINE
#endif

extern int testLibRequired(void);
extern int testStaticLibRequiredPrivate(void);

int testLibDepends(void) {
  return testLibRequired()
    + testStaticLibRequiredPrivate()
    ;
}