]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/dead_code.glsl
Validate GLSL flow control
[libs/gl.git] / tests / glsl / dead_code.glsl
index bdfd4503c521c04ebc706deb4eb31b741499855f..4c15cc1814a6b495b4f65caaaad1b113fd2c4a6b 100644 (file)
@@ -9,6 +9,10 @@ void main()
        gl_Position = position;
 }
 
+/* Expected diagnostic:
+<test>:9: Unreachable code detected
+*/
+
 /* Expected output: vertex
 layout(location=0) uniform mat4 mvp;
 layout(location=0) in vec4 position;