mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
18 lines
154 B
GLSL
18 lines
154 B
GLSL
#define A defined(B)
|
|
|
|
#if A
|
|
int badGlobal1;
|
|
#else
|
|
int goodGlobal1;
|
|
#endif
|
|
|
|
#define B
|
|
|
|
#if A
|
|
int goodGlobal2;
|
|
#else
|
|
int badGlobal2;
|
|
#endif
|
|
|
|
void main() {}
|