xref: /freebsd/contrib/unifdef/tests/if1a.expout (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1/* Copyright 2004 Bob Proulx <bob@proulx.com>
2Distributed under the two-clause BSD licence;
3see the COPYING file for details. */
4
5#include <stdio.h>
6#include <stdlib.h>
7
8#if FOO
9int foo() { return 0; }
10#else
11#error FOO not defined
12#endif
13
14#if   FOO
15int bar() { return 0; }
16#else
17#error FOO not defined
18#endif
19
20int main()
21{
22  foo();
23  bar();
24}
25