glcpp: Add several tests for diagnostics.
Which are proving to be useful since some of these tests are not yet acting as desired, (in particular, the unterminated if test is not generating any diagnostic).
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
0:2(1): preprocessor error: Error: macro MULT invoked with 1 arguments (expected 2)
|
||||
|
||||
0:3(1): preprocessor error: Error: macro MULT invoked with 1 arguments (expected 2)
|
||||
|
||||
0:4(1): preprocessor error: Error: macro MULT invoked with 3 arguments (expected 2)
|
||||
|
||||
|
||||
MULT()
|
||||
MULT(1)
|
||||
MULT(1,2,3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user