Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git] / Test / negativeArraySize.comp
1 #version 310 es
2
3 #ifdef GL_ES
4 precision mediump float;
5 #endif
6
7 void main()
8 {
9    float f[-2]; // cannot declare arrays with negative size
10 }