xref: /freebsd/contrib/unifdef/tests/small2.c (revision e5b786625f7f82a1fa91e41823332459ea5550f9)
1 /* Copyright 2004 Bob Proulx <bob@proulx.com>
2 Distributed under the two-clause BSD licence;
3 see the COPYING file for details. */
4 
5 #include <stdio.h>
6 #include <stdlib.h>
7 
8 #ifndef BAR
9 int bar() { return 0; }
10 #else
11 #error BAR not defined
12 #endif
13 
14 int main()
15 {
16   bar();
17 }
18