summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/088-redefine-macro-legitimate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/088-redefine-macro-legitimate.c')
-rw-r--r--src/glsl/glcpp/tests/088-redefine-macro-legitimate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/088-redefine-macro-legitimate.c b/src/glsl/glcpp/tests/088-redefine-macro-legitimate.c
new file mode 100644
index 00000000000..0e0666b8b35
--- /dev/null
+++ b/src/glsl/glcpp/tests/088-redefine-macro-legitimate.c
@@ -0,0 +1,5 @@
+#define abc 123
+#define abc 123
+
+#define foo(x) (x)+23
+#define foo(x) ( x ) + 23