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