mesa/src/glsl/glcpp/tests/076-elif-undef-nested.c
Carl Worth 48ba058e7a glcpp: Additional fixes for not evaluating skipped #if/#elif expressions.
This adds a couple of test cases to expand our coverage of invalid #if and
being skipped, (either by being nested inside an #if/#elif that evaluates to
zero or by being after an #if/#elif that evaluates to non-zero).
2010-08-11 12:43:44 -07:00

5 lines
59 B
C

#ifdef UNDEF
#if UNDEF == 4
#elif UNDEF == 5
#endif
#endif