#pragma MSP stage(vertex) layout(location=0) in vec4 position; out VertexOut { vec2 texcoord; } vs_out; vec3 normal(); vec3 normal; out VertexOut2 { vec2 texcoord; vec3 normal; }; vec2 texcoord; void main() { vec2 texcoord; gl_Position = position; } vec2 texcoord() { return vec2(0.0); } /* Expected error: :8: Multiple definition of 'normal' :7: Previous definition is here :12: Multiple definition of 'normal' :7: Previous definition is here :14: Multiple definition of 'texcoord' :11: Previous definition is here :20: Multiple definition of 'texcoord' :11: Previous definition is here */