summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/060-left-paren-in-macro-right-paren-in-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/060-left-paren-in-macro-right-paren-in-text.c')
-rw-r--r--src/glsl/glcpp/tests/060-left-paren-in-macro-right-paren-in-text.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/060-left-paren-in-macro-right-paren-in-text.c b/src/glsl/glcpp/tests/060-left-paren-in-macro-right-paren-in-text.c
new file mode 100644
index 00000000000..ed80ea879ce
--- /dev/null
+++ b/src/glsl/glcpp/tests/060-left-paren-in-macro-right-paren-in-text.c
@@ -0,0 +1,3 @@
+#define double(a) a*2
+#define foo double(
+foo 5)