summaryrefslogtreecommitdiff
path: root/tests/glslparsertest/glsl2/parameters-03.vert
blob: f4f0d3cf5b9144b87bce2e959f8793d32a1e0a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// [config]
// expect_result: fail
// glsl_version: 1.10
//
// [end config]

/* FAIL - x is redeclared in the function body at the same scope as the
 *        parameter
 */
void a(float x, float y)
{
	float x;

	x = y;
}