--- /dev/null
+#version 120
+/* FAIL - array size type must be int */
+uniform vec4 [3.2] a;
--- /dev/null
+#version 120
+/* FAIL - array size type must be scalar */
+uniform vec4 [ivec4(3)] a;
--- /dev/null
+#version 120
+/* PASS */
+uniform vec4 [3] a;
--- /dev/null
+/* FAIL - array size type must be int */
+uniform vec4 a[3.2];
--- /dev/null
+/* FAIL - array size type must be scalar */
+uniform vec4 a[ivec4(3)];
--- /dev/null
+/* PASS */
+uniform vec4 a[3];
--- /dev/null
+/* FAIL - array size must be > 0 */
+uniform vec4 a[0];
--- /dev/null
+/* FAIL - array size must be > 0 */
+uniform vec4 a[-1];