glslang/Test/negativeArraySize.comp

11 lines
139 B
Plaintext
Raw Permalink Normal View History

2016-05-09 23:07:04 +00:00
#version 310 es
#ifdef GL_ES
precision mediump float;
#endif
void main()
{
float f[-2]; // cannot declare arrays with negative size
}