/* Copyright 2004 Bob Proulx Distributed under the two-clause BSD licence; see the COPYING file for details. */ #include #include #if FOO int foo() { return 0; } #else #error FOO not defined #endif #if BAR int foo() { return 0; } #elif FOO int bar() { return 0; } #else #error FOO not defined #endif int main() { foo(); bar(); }