From 44e2502754793c2ff536ce8f66dc3238314c1946 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 9 Apr 2009 11:06:06 -0400 Subject: [PATCH] Added unit test for too many macro args. --- unit_tests/preprocessor/errors/too-many-macro-args | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 unit_tests/preprocessor/errors/too-many-macro-args diff --git a/unit_tests/preprocessor/errors/too-many-macro-args b/unit_tests/preprocessor/errors/too-many-macro-args new file mode 100644 index 00000000..fb76ea19 --- /dev/null +++ b/unit_tests/preprocessor/errors/too-many-macro-args @@ -0,0 +1,3 @@ +// This should produce an error, not anything like "WRONG 7 )" +#define x(a) a +x(WRONG, 7)