aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/tests/027-define-chain-obj-to-func.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/glcpp/tests/027-define-chain-obj-to-func.c')
-rw-r--r--src/compiler/glsl/glcpp/tests/027-define-chain-obj-to-func.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/tests/027-define-chain-obj-to-func.c b/src/compiler/glsl/glcpp/tests/027-define-chain-obj-to-func.c
new file mode 100644
index 00000000000..5ccb52caba5
--- /dev/null
+++ b/src/compiler/glsl/glcpp/tests/027-define-chain-obj-to-func.c
@@ -0,0 +1,3 @@
+#define failure() success
+#define foo failure()
+foo