summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/void-01.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/tests/void-01.glsl')
-rw-r--r--src/glsl/tests/void-01.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/tests/void-01.glsl b/src/glsl/tests/void-01.glsl
new file mode 100644
index 00000000000..5719edc0b6c
--- /dev/null
+++ b/src/glsl/tests/void-01.glsl
@@ -0,0 +1,2 @@
+/* FAIL - cannot declare a variable as having type `void' */
+void foo;