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