summaryrefslogtreecommitdiff
path: root/glcpp/tests/030-define-chain-obj-to-func-compose.c
diff options
context:
space:
mode:
Diffstat (limited to 'glcpp/tests/030-define-chain-obj-to-func-compose.c')
-rw-r--r--glcpp/tests/030-define-chain-obj-to-func-compose.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/glcpp/tests/030-define-chain-obj-to-func-compose.c b/glcpp/tests/030-define-chain-obj-to-func-compose.c
new file mode 100644
index 0000000000..e56fbefd62
--- /dev/null
+++ b/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