// Compile mode: module
-/* Expected output: vertex
-layout(location=0) in vec4 position;
-void main()
-{
- gl_Position = position;
-}
-*/
-
-/* Expected output: fragment
-layout(constant_id=953017667) const int max_colors = 2;
-struct ColorInfo
-{
- vec4 color;
-};
-layout(binding=23) uniform Colors
-{
- ColorInfo colors[max_colors];
-};
-layout(location=0) out vec4 frag_color;
-void main()
-{
- frag_color = colors[0].color;
-}
+/* Expected error:
+<test>:8: Reference to specialization constant 'max_colors' in a fixed constant expression
+<test>:8: Reference to specialization constant 'max_colors' in a fixed constant expression
*/