# HG changeset patch # User Ryan C. Gordon # Date 1268404944 18000 # Node ID c1b1c55d292a0364520af6afae36f4fdd68b7e21 # Parent 7a7989b18117c4685650f4a6779ec3b71ae7dce9 Added more unit tests. diff -r 7a7989b18117 -r c1b1c55d292a unit_tests/preprocessor/output/macro-blank-arg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unit_tests/preprocessor/output/macro-blank-arg Fri Mar 12 09:42:24 2010 -0500 @@ -0,0 +1,4 @@ +// This shouldn't produce an error (the "()" should be treated as one +// blank argument. +#define x(y) y +x() diff -r 7a7989b18117 -r c1b1c55d292a unit_tests/preprocessor/output/macro-blank-arg.correct diff -r 7a7989b18117 -r c1b1c55d292a unit_tests/preprocessor/output/stringify-operator-blank-arg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unit_tests/preprocessor/output/stringify-operator-blank-arg Fri Mar 12 09:42:24 2010 -0500 @@ -0,0 +1,4 @@ +// This shouldn't produce an error (the "()" should be treated as one +// blank argument, turned into a "" +#define x(y) #y +x() diff -r 7a7989b18117 -r c1b1c55d292a unit_tests/preprocessor/output/stringify-operator-blank-arg.correct --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unit_tests/preprocessor/output/stringify-operator-blank-arg.correct Fri Mar 12 09:42:24 2010 -0500 @@ -0,0 +1,1 @@ +"" \ No newline at end of file