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