Trying to workaround some compiler issues with LocalFunction.

[SVN r77866]
This commit is contained in:
Lorenzo Caminiti
2012-04-09 22:17:36 +00:00
parent 3203e349ad
commit 5935f79a12
4 changed files with 8 additions and 3 deletions

View File

@@ -27,7 +27,8 @@ int main(void) {
int delta = 10;
LOCAL_INC_DEC(delta) // Declare local functions on same line using `_ID`.
BOOST_TEST(dec(inc(123)) == 123);
BOOST_TEST(inc(123) == 123 + 10);
BOOST_TEST(dec(123) == 123 - 10);
return boost::report_errors();
}