diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/preprocessor.errors.vert')
-rw-r--r-- | chromium/third_party/glslang/src/Test/preprocessor.errors.vert | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/preprocessor.errors.vert b/chromium/third_party/glslang/src/Test/preprocessor.errors.vert new file mode 100644 index 00000000000..86b3962429e --- /dev/null +++ b/chromium/third_party/glslang/src/Test/preprocessor.errors.vert @@ -0,0 +1,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() { +} |