summaryrefslogtreecommitdiff
path: root/tests/glslparsertest
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2017-03-31 16:21:13 -0700
committerVinson Lee <vlee@freedesktop.org>2017-04-03 15:46:33 -0700
commit3d1cbd983b216f7ca22f466747cb7aede843a9c7 (patch)
tree92e93d48539569448c3d3e7f4f8d887e7a4b52cf /tests/glslparsertest
parentaead86df7b723df412d2e896941281473efb67b1 (diff)
glslparsertest: Add test case for FDO bug #100438.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100438 Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'tests/glslparsertest')
-rw-r--r--tests/glslparsertest/glsl2/fdo100438.frag10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/glslparsertest/glsl2/fdo100438.frag b/tests/glslparsertest/glsl2/fdo100438.frag
new file mode 100644
index 000000000..c804835a5
--- /dev/null
+++ b/tests/glslparsertest/glsl2/fdo100438.frag
@@ -0,0 +1,10 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.10
+//
+// [end config]
+
+void main()
+{
+ a[b](c);
+}