Status: fail
			Result: fail
		
| Detail | Value | 
|---|---|
| returncode | 1 | 
| time | 0.233999967575 | 
| note | Returncode was 1 | 
| errors | 
  | 
| info | Returncode: 1
Errors:
Failed to compile vertex shader tests/spec/glsl-1.10\compiler\expressions\return-01.vert: Vertex shader failed to compile with the following errors:
ERROR: 0:15: error(#246) Void function cannot return a value
ERROR: error(#273) 1 compilation errors.  No code generated
Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.10
// [end config]
#ifdef GL_ES
precision mediump float;
#endif
void A(int i) { }
void B(int i) {
	// This is crazy, but not technically illegal.  The value of A(i) has
	// void type, and the return type of the function is void.
	return A(i);
}
attribute vec4 vertex;
void main() {
	B(1);
	gl_Position = vertex;
}
 |