shithub: scc

ref: ec632e06b5e6b66954cf811d2dd99b511273dc31
dir: /cc1/tests/test033.c/

View raw version
/* See LICENSE file for copyright and license details. */

/*
name: TEST033
description: test for #if defined()
error:
output:
G1	I	"c
*/

#if defined(FOO)
int a;
#elif !defined(FOO) && defined(BAR)
int b;
#elif !defined(FOO) && !defined(BAR)
int c;
#else
int d;
#endif