blob: e975c1b57fee5e1d6d85bd45d72e1ed38860e7b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifdef EXPECT_FOO_LINK_ONLY
# ifndef FOO_LINK_ONLY
# error "FOO_LINK_ONLY incorrectly not defined"
# endif
#else
# ifdef FOO_LINK_ONLY
# error "FOO_LINK_ONLY incorrectly defined"
# endif
#endif
extern int foo_link_only(void);
int main(void)
{
return foo_link_only();
}
|