summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/tests/007-define-composite-recursive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/glcpp/tests/007-define-composite-recursive.c')
-rw-r--r--src/compiler/glsl/glcpp/tests/007-define-composite-recursive.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/tests/007-define-composite-recursive.c b/src/compiler/glsl/glcpp/tests/007-define-composite-recursive.c
new file mode 100644
index 00000000000..5784565bdf3
--- /dev/null
+++ b/src/compiler/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