Can 'statement' be a macro that expands to unprotected comma?
Write tests to make sure the following compiles:
#define MY_STATEMENT int m, n = 0; exit(1);
EXPECT_DEATH(MY_STATEMENT, "");
(EXPECT_DEATH uses GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_ in its
implementation.)
Original issue reported on code.google.com by zhanyong...@gmail.com on 21 Sep 2009 at 6:36
Original issue reported on code.google.com by
zhanyong...@gmail.com
on 21 Sep 2009 at 6:36