#pragma MSP stage(vertex) layout(location=0) in vec4 position; float func() { } void main() { gl_Position = position*func(); return 0; } /* Expected error: :3: Missing return statement at the end of a function not returning 'void' :9: Return expression type 'int' is incompatible with declared return type 'void' */