glslang/Test/negativeArraySize.comp
2016-05-09 17:07:04 -06:00

11 lines
139 B
Plaintext

#version 310 es
#ifdef GL_ES
precision mediump float;
#endif
void main()
{
float f[-2]; // cannot declare arrays with negative size
}