summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-01-04 16:39:19 -0800
committerVinson Lee <[email protected]>2011-01-04 16:39:19 -0800
commit5a3f31575bf0657661c3e66a4c95c3298c78e441 (patch)
treed722d04d2e3b27fdcf4335298c9e48de53432078 /src/glsl/glcpp
parent3488b14a047bf1f05831b3bbdc374a0da482212c (diff)
glcpp: Add test for recursive #define.
Diffstat (limited to 'src/glsl/glcpp')
-rw-r--r--src/glsl/glcpp/tests/095-recursive-define.c3
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 00000000000..801d90ce2e3
--- /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