diff options
Diffstat (limited to 'tests/parameters-03.glsl')
-rw-r--r-- | tests/parameters-03.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/parameters-03.glsl b/tests/parameters-03.glsl new file mode 100644 index 0000000000..7ec30f80cc --- /dev/null +++ b/tests/parameters-03.glsl @@ -0,0 +1,9 @@ +/* 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; +} |