glcpp: Add two new tests for testing redefined macros.
authorCarl Worth <cworth@cworth.org>
Wed, 18 Aug 2010 06:19:01 +0000 (23:19 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Aug 2010 06:41:53 +0000 (23:41 -0700)
commit105e2137d67b98c24251be3586985fb61aeaf28a
treea65af90da4160cb566bb52169483feba805ec387
parent97638aa77c509cd37dea499202d31357926a0e2a
glcpp: Add two new tests for testing redefined macros.

The specification says that redefining a macro is an error, unless the
new definitions is identical to the old one, (identical replacement
lists but ignoring differing amounts of whitespace).
src/glsl/glcpp/tests/088-redefine-macro-legitimate.c [new file with mode: 0644]
src/glsl/glcpp/tests/088-redefine-macro-legitimate.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/089-redefine-macro-error.c [new file with mode: 0644]
src/glsl/glcpp/tests/089-redefine-macro-error.c.expected [new file with mode: 0644]