summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/preprocessor.errors.vert
blob: 86b3962429ec4506c3b41aee0d56b8d003aeed5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#version 310 es

#define X 1

#if X
  #ifdef Y
    #error This should not show up in pp output.
  #endif
    #error This should show up in pp output.
#else
  #error This should not show up in pp output.
#endif

#def X
#if Y

#extension a

int main() {
}