shithub: scc

ref: caf73a3a056f46b507e7cfdf7af5102597777ac2
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