Mesa (master): glcpp: Add test for recursive #define.

Vinson Lee vlee at kemper.freedesktop.org
Tue Jan 4 16:39:55 PST 2011


Module: Mesa
Branch: master
Commit: 5a3f31575bf0657661c3e66a4c95c3298c78e441
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a3f31575bf0657661c3e66a4c95c3298c78e441

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Jan  4 16:39:19 2011 -0800

glcpp: Add test for recursive #define.

---

 src/glsl/glcpp/tests/095-recursive-define.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/glsl/glcpp/tests/095-recursive-define.c b/src/glsl/glcpp/tests/095-recursive-define.c
new file mode 100644
index 0000000..801d90c
--- /dev/null
+++ b/src/glsl/glcpp/tests/095-recursive-define.c
@@ -0,0 +1,3 @@
+#define A(a, b) B(a, b)
+#define C A(0, C)
+C



More information about the mesa-commit mailing list