HardenedBSD/contrib/unifdef/tests/if2-k.expout

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
376 B
Plaintext
Raw Normal View History

2023-08-21 19:33:26 +02:00
/* Copyright 2004, 2008 Bob Proulx <bob@proulx.com>
Distributed under the two-clause BSD licence;
see the COPYING file for details. */
#include <stdio.h>
#include <stdlib.h>
/* This code is passed through. "#if 0 else" */
/* This code is passed through. "#if 1 then" */
#if defined(FOO)
int foo() { return 0; }
#else
#error FOO not defined
#endif
int main()
{
foo();
}