summaryrefslogtreecommitdiffstats
path: root/tests/parameters-03.glsl
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-03-23 11:57:24 -0700
committerIan Romanick <[email protected]>2010-03-23 11:57:24 -0700
commit693bb11b5f817b6a299f03acaf50fc3264c853d0 (patch)
tree6dea84163075c7f365f56aa45bbb80c8b0ad5556 /tests/parameters-03.glsl
parentf8f1085e5ed21f63a7ab5af02ca9a8249bf1f6a2 (diff)
Rename test GLSL sources from .txt to .glsl
Diffstat (limited to 'tests/parameters-03.glsl')
-rw-r--r--tests/parameters-03.glsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/parameters-03.glsl b/tests/parameters-03.glsl
new file mode 100644
index 00000000000..7ec30f80cc6
--- /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;
+}