summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Export/testLibDepends.c
blob: c896c10efb4c35442c0460a1e8569dab9c8bfd8b (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

#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();
}