Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.122002840042 |
| note | Returncode was 1 |
| command | /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.10/compiler/reserved/double-underscore-03.frag fail 1.10 |
| errors |
|
| info | Returncode: 1
Errors:
Successfully compiled fragment shader tests/spec/glsl-1.10/compiler/reserved/double-underscore-03.frag: 0(15) : warning C7528: OpenGL reserves names containing '__'
Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.10
// [end config]
//
// Check that variable names that contain a double underscore, and the double
// underscore is located in the middle of the variable name, are reserved,
//
// From page 14 (20 of pdf) of the GLSL 1.10 spec:
// "In addition, all identifiers containing two consecutive underscores
// (__) are reserved as possible future keywords."
int f()
{
int i__am__reserved;
return 0;
}
|