summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Export/testLib4libopt.c
blob: 605edd05bf34bd746b35b8cb3e0aa222bb3f78a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifdef LIB_OPT
/* We are building in testLib4libopt.  Provide the correct symbol.  */
int testLib4libopt(void)
{
  return 0;
}
#else
/* We are not building in testLib4libopt.  Poison the symbol.  */
extern int testLib4libopt_noexist(void);
int testLib4libopt(void)
{
  return testLib4libopt_noexist();
}
#endif