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