We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24f2851 commit 3fae691Copy full SHA for 3fae691
1 file changed
test.cpp
@@ -493,6 +493,7 @@ static void combineOperators_andequal()
493
ASSERT_EQUALS("x &= 2 ;", preprocess("x &= 2;"));
494
ASSERT_EQUALS("void f ( x & = 2 ) ;", preprocess("void f(x &= 2);"));
495
ASSERT_EQUALS("f ( x &= 2 ) ;", preprocess("f(x &= 2);"));
496
+ ASSERT_EQUALS("f ( ) { return new int ( i &= 1 ) ; }", preprocess("f () { return new int(i &= 1); }"));
497
}
498
499
static void combineOperators_ellipsis()
0 commit comments