You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
283 B
17 lines
283 B
2 years ago
|
#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();
|
||
|
}
|