summaryrefslogtreecommitdiffstats
path: root/Tests/InterfaceLibrary/definetestexe.cpp
blob: 9156426cdbde524b12c1897b77134a4b14f91b17 (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

#ifndef IFACE_DEFINE
#  error Expected IFACE_DEFINE
#endif

#include "iface_header.h"

#ifndef IFACE_HEADER_SRCDIR
#  error Expected IFACE_HEADER_SRCDIR
#endif

#include "iface_header_builddir.h"

#ifndef IFACE_HEADER_BUILDDIR
#  error Expected IFACE_HEADER_BUILDDIR
#endif

extern int obj();
extern int sub();
extern int item();

int main(int, char**)
{
  return obj() + sub() + item();
}