summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Export/testLibDepends.c
blob: 6100da1dc6d5ed8da84131c4c458e48bb51bb370 (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();
}