1// [config]
2// expect_result: fail
3// glsl_version: 1.20
4// require_extensions: GL_ARB_explicit_attrib_location
5// [end config]
6//
7// "in" is not allowed on function local variables in GLSL 1.20 even when
8// GL_ARB_explicit_attrib_location is enabled
9
10#version 120
11#extension GL_ARB_explicit_attrib_location: require
12in vec4 vertex;
13
14void main()
15{
16	in vec4 foo;
17
18	gl_Position = vertex;
19}
20