summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/143-multiple-else.c
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2014-07-28 12:26:06 -0700
committerIan Romanick <[email protected]>2014-08-07 16:08:29 -0700
commitf28a105868d2c1913746de3875dda000c14069fb (patch)
treeb659d139b0fa21cbbb807ca4216f774d3cf2d203 /src/glsl/glcpp/tests/143-multiple-else.c
parent41540997fbc74a6f67fe4e4e6990f2f3119c0201 (diff)
glsl/glcpp: Rename one test to avoid a duplicate test number
With two tests both numbered 118, there was a confusing off-by-two difference between the last test number and the total number of tests (as reported by glcpp-test). With this rename, there's only an off-by-one difference left, (which is easy to understand given the zero-based test numbering). Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/tests/143-multiple-else.c')
-rw-r--r--src/glsl/glcpp/tests/143-multiple-else.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/143-multiple-else.c b/src/glsl/glcpp/tests/143-multiple-else.c
new file mode 100644
index 00000000000..62ad49cf7bb
--- /dev/null
+++ b/src/glsl/glcpp/tests/143-multiple-else.c
@@ -0,0 +1,6 @@
+#if 0
+#else
+int foo;
+#else
+int bar;
+#endif