summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/092-redefine-macro-error-2.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-12-27 23:20:35 -0800
committerVinson Lee <[email protected]>2010-12-27 23:20:35 -0800
commitf3319561a476bd806005551251dbc6a37f266e03 (patch)
tree0885a90742bd6c3172623e3bba231f309ed9eca3 /src/glsl/glcpp/tests/092-redefine-macro-error-2.c
parent17004b39546b4033bd3d2612c231473c8f06157f (diff)
glcpp: Add negative tests for redefintions with valueless macros.
Diffstat (limited to 'src/glsl/glcpp/tests/092-redefine-macro-error-2.c')
-rw-r--r--src/glsl/glcpp/tests/092-redefine-macro-error-2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/092-redefine-macro-error-2.c b/src/glsl/glcpp/tests/092-redefine-macro-error-2.c
new file mode 100644
index 00000000000..3c161a5c501
--- /dev/null
+++ b/src/glsl/glcpp/tests/092-redefine-macro-error-2.c
@@ -0,0 +1,5 @@
+#define A
+#define A 1
+
+#define B 1
+#define B