summaryrefslogtreecommitdiff
path: root/Tests/InterfaceLinkLibraries/main.cpp
blob: a54076a75f83ca38f551f5497501074a634ce867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#ifndef FOO_LIBRARY
#error Expected FOO_LIBRARY
#endif

#ifndef BAR_LIBRARY
#error Expected BAR_LIBRARY
#endif

#ifdef BANG_LIBRARY
#error Unexpected BANG_LIBRARY
#endif

#include "bar.h"

int main(void)
{
  return foo() + bar();
}