]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/unifdef/tests/if3.c
Add 'contrib/unifdef/' from commit '0da44885831dc0a43c4ca6ff04a2430993cc0a80'
[FreeBSD/FreeBSD.git] / contrib / unifdef / tests / if3.c
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 #if ! defined(BAR)
9 int foo() { return 0; }
10 #else
11 #error BAR defined
12 #endif
13
14 int main()
15 {
16   foo();
17 }