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