yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

John KessenichHLSL: Allow macro expansions to create the 'defined' operator.4d5bcd31

main
154 B17 linesraw
1#define A defined(B)
2
3#if A
4int badGlobal1;
5#else
6int goodGlobal1;
7#endif
8
9#define B
10
11#if A
12int goodGlobal2;
13#else
14int badGlobal2;
15#endif
16
17void main() {}