summaryrefslogtreecommitdiff
path: root/Tests/CompatibleInterface/main.cpp
blob: f5e6e38918897a45f3651348ffe6cc64bebcc5b3 (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
26
27
28
29
30
31
32

#ifndef BOOL_PROP1
#error Expected BOOL_PROP1
#endif

#ifndef BOOL_PROP2
#error Expected BOOL_PROP2
#endif

#ifndef BOOL_PROP3
#error Expected BOOL_PROP3
#endif

#ifndef STRING_PROP1
#error Expected STRING_PROP1
#endif

#ifndef STRING_PROP2
#error Expected STRING_PROP2
#endif

#ifndef STRING_PROP3
#error Expected STRING_PROP3
#endif

#include "iface2.h"

int main(int argc, char **argv)
{
  Iface2 if2;
  return if2.foo();
}