glcpp: Add test for the #error directive.
This directive is already implemented nicely, but wasn't previously tested. It will be convenient to use this directive in further tests that rely on error messages, (such as ensuring that #line correctly sets the line number in the error message).
This commit is contained in:
@@ -0,0 +1 @@
|
||||
#error human error
|
||||
@@ -0,0 +1,3 @@
|
||||
0:1(2): preprocessor error: #error human error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user