summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/007-define-composite-recursive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/007-define-composite-recursive.c')
-rw-r--r--src/glsl/glcpp/tests/007-define-composite-recursive.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/007-define-composite-recursive.c b/src/glsl/glcpp/tests/007-define-composite-recursive.c
new file mode 100644
index 00000000000..5784565bdf3
--- /dev/null
+++ b/src/glsl/glcpp/tests/007-define-composite-recursive.c
@@ -0,0 +1,6 @@
+#define foo a bar
+#define bar b baz
+#define baz c foo
+foo
+bar
+baz