summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/033-define-func-self-compose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/033-define-func-self-compose.c')
-rw-r--r--src/glsl/glcpp/tests/033-define-func-self-compose.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/033-define-func-self-compose.c b/src/glsl/glcpp/tests/033-define-func-self-compose.c
new file mode 100644
index 00000000000..f65e48286cf
--- /dev/null
+++ b/src/glsl/glcpp/tests/033-define-func-self-compose.c
@@ -0,0 +1,2 @@
+#define foo(a) foo(2*(a))
+foo(foo(3))