summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/030-define-chain-obj-to-func-compose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/030-define-chain-obj-to-func-compose.c')
-rw-r--r--src/glsl/glcpp/tests/030-define-chain-obj-to-func-compose.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/030-define-chain-obj-to-func-compose.c b/src/glsl/glcpp/tests/030-define-chain-obj-to-func-compose.c
new file mode 100644
index 00000000000..e56fbefd62d
--- /dev/null
+++ b/src/glsl/glcpp/tests/030-define-chain-obj-to-func-compose.c
@@ -0,0 +1,4 @@
+#define baz(failure) failure
+#define bar(failure) failure
+#define foo bar(baz(success))
+foo