summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/negativeArraySize.comp
blob: 20636c0a7d01c99bf03d1f7a0a98d0d1c70086f3 (plain)
1
2
3
4
5
6
7
8
9
10
#version 310 es

#ifdef GL_ES
precision mediump float;
#endif

void main()
{
   float f[-2]; // cannot declare arrays with negative size
}