// [config]
// expect_result: fail
// glsl_version: 1.20
// require_extensions: GL_ARB_explicit_attrib_location
// [end config]
//
// From the GL_ARB_explicit_attrib_location spec:
//
//     "Vertex shaders allow input layout qualifiers on input variable
//     declarations."
//
// Just as output layouts are not allowed in vertex shaders, input
// layouts are not allowed in fragment shaders.

#version 120
#extension GL_ARB_explicit_attrib_location: require
layout(location = 0) in vec4 color;

void main()
{
	gl_FragColor = color;
}
