summaryrefslogtreecommitdiff
path: root/tests/glslparsertest/shaders/comma1.vert
blob: 28f9516d23d4a68436fdc12a6fb239a155bb7fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// [config]
// expect_result: fail
// glsl_version: 1.10
//
// [end config]

void main() 
{
    int i, j, k;
    float f;
    i = j, k, f;
    i = (j, k, f);   // float cannot be assigned to int
    gl_Position = vec4(1);
}