Added unit test for too many macro args.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 09 Apr 2009 11:06:06 -0400
changeset 749 4e0837f91f12
parent 748 818ae6582f24
child 750 238675cfa788
Added unit test for too many macro args.
unit_tests/preprocessor/errors/too-many-macro-args
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unit_tests/preprocessor/errors/too-many-macro-args	Thu Apr 09 11:06:06 2009 -0400
@@ -0,0 +1,3 @@
+// This should produce an error, not anything like "WRONG 7 )"
+#define x(a) a
+x(WRONG, 7)