xref: /freebsd/contrib/unifdef/tests/if3-k.expout (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1/* Copyright 2004, 2008 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/* This code is passed through. "#if 0 else" */
9
10/* This code is passed through. "#if 1 then" */
11
12#if ! defined(BAR)
13int foo() { return 0; }
14#else
15#error BAR defined
16#endif
17
18int main()
19{
20  foo();
21}
22