summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/015-define-object-with-parens.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/015-define-object-with-parens.c')
-rw-r--r--src/glsl/glcpp/tests/015-define-object-with-parens.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/015-define-object-with-parens.c b/src/glsl/glcpp/tests/015-define-object-with-parens.c
new file mode 100644
index 00000000000..558da9c617b
--- /dev/null
+++ b/src/glsl/glcpp/tests/015-define-object-with-parens.c
@@ -0,0 +1,4 @@
+#define foo ()1
+foo()
+#define bar ()2
+bar()