#pragma MSP stage(vertex) layout(location=0) in vec4 position; out VertexOut { vec2 texcoord; } vs_out; 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: :11: Multiple definition of 'normal' :7: Previous definition is here :13: Multiple definition of 'texcoord' :10: Previous definition is here :19: Multiple definition of 'texcoord' :10: Previous definition is here */