Results for glslparsertest/glsl2/redeclaration-10.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.156259059906
note Returncode was 1
errors
  • Successfully compiled vertex shader tests/glslparsertest/glsl2/redeclaration-10.vert: (no compiler output)
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/glslparsertest/glsl2/redeclaration-10.vert: (no compiler output)


Output:
Shader source:
/* FAIL - variable name conflicts with function name in same scope
 * 
 * See also redeclaration-09.vert (passes in 1.10) and redeclaration-11.vert
 * (where the variable declaration is legal, but still hides the function).
 */
#version 120
float foo()
{
    return 0.5;
}

const float foo = 1.0;

Back to summary