summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/array-11.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/tests/array-11.glsl')
-rw-r--r--src/glsl/tests/array-11.glsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/glsl/tests/array-11.glsl b/src/glsl/tests/array-11.glsl
new file mode 100644
index 00000000000..51d94e94773
--- /dev/null
+++ b/src/glsl/tests/array-11.glsl
@@ -0,0 +1,9 @@
+#version 120
+/* PASS */
+
+void main()
+{
+ vec4 a[] = vec4 [] (vec4(1.0), vec4(2.0));
+
+ gl_Position = gl_Vertex;
+}