glsl/glcpp: Add test for "#define without macro name"
authorCarl Worth <cworth@cworth.org>
Wed, 2 Jul 2014 00:44:55 +0000 (17:44 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 7 Aug 2014 23:08:28 +0000 (16:08 -0700)
commitb76482e7312827ab13f37ab9a7e3c8eef30bfe7a
tree0044eeac8bda8870b6a2e8b7549c60bea1afa40c
parenta196ab1f8aacf657e591a0a15c80c3f37b9496b0
glsl/glcpp: Add test for "#define without macro name"

This ensures that the previous commit indeed generates the expected error
message when a "#define" directive is not followed by anything except for a
newline.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glcpp/tests/139-define-without-macro-name.c [new file with mode: 0644]
src/glsl/glcpp/tests/139-define-without-macro-name.c.expected [new file with mode: 0644]