summaryrefslogtreecommitdiff
path: root/tests/glslparsertest/shaders/increment2.frag
blob: 8dcae483b59a16f62d349c6aa681b940c7bdf2d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// [config]
// expect_result: fail
// glsl_version: 1.10
//
// [end config]

void main()
{
    int i;
    (i+i)++;  // i+i is not an l-value
}