summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests/warnings/000-basic-test.vert
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/tests/warnings/000-basic-test.vert')
-rw-r--r--src/compiler/glsl/tests/warnings/000-basic-test.vert10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compiler/glsl/tests/warnings/000-basic-test.vert b/src/compiler/glsl/tests/warnings/000-basic-test.vert
new file mode 100644
index 00000000000..266eed6402b
--- /dev/null
+++ b/src/compiler/glsl/tests/warnings/000-basic-test.vert
@@ -0,0 +1,10 @@
+#version 130
+
+void main()
+{
+ float foo;
+ float undefined;
+
+ foo = undefined;
+}
+