Mesa (glsl2): glcpp/tests: Add a corollary to testcase 073 for testing #elif.

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Aug 5 06:33:50 UTC 2010


Module: Mesa
Branch: glsl2
Commit: d65135a7661c320c618151df0a94c852dc9bc621
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d65135a7661c320c618151df0a94c852dc9bc621

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Aug  4 16:22:31 2010 -0700

glcpp/tests: Add a corollary to testcase 073 for testing #elif.

---

 src/glsl/glcpp/tests/074-elif-undef.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/glsl/glcpp/tests/074-elif-undef.c b/src/glsl/glcpp/tests/074-elif-undef.c
new file mode 100644
index 0000000..67aac89
--- /dev/null
+++ b/src/glsl/glcpp/tests/074-elif-undef.c
@@ -0,0 +1,3 @@
+#ifndef UNDEF
+#elif UNDEF < 0
+#endif




More information about the mesa-commit mailing list