glslang/Test/cppBad.vert
John Kessenich e7e081bda9 PP: don't give errors on some tokens under #if 0 (or similar).
Fixes #1295.

Tokens that are accepted by any version of HLSL or GLSL should be
allowed when #ifdef'd off, such that errors are not reported.
2018-03-19 00:43:18 -06:00

5 lines
48 B
GLSL

#define m#0#
#if m
#endif
#define n()
int n"