File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -777,7 +777,7 @@ class TestCondition : public TestFixture {
777777
778778 check (" void f(size_t x) {\n "
779779 " if (x == sizeof(long)) {}\n "
780- " else { if (x == sizeof(long long))} { }\n "
780+ " else { if (x == sizeof(long long)) {} }\n "
781781 " }\n " );
782782 ASSERT_EQUALS (" " , errout_str ());
783783 }
Original file line number Diff line number Diff line change @@ -5345,7 +5345,7 @@ class TestTokenizer : public TestFixture {
53455345 ASSERT_EQUALS (" ; x = 123 ;" , tokenizeAndStringify (" ;x=({123;});" ));
53465346 ASSERT_EQUALS (" ; x = y ;" , tokenizeAndStringify (" ;x=({y;});" ));
53475347 // #13419: Do not simplify compound statements in for loop
5348- ASSERT_EQUALS (" void foo ( int x ) { for ( ; ( { { } ; x < 1 ; } ) { ; } ) }" ,
5348+ ASSERT_EQUALS (" void foo ( int x ) { for ( ; ( { { } ; x < 1 ; } ) ; ) { ; } }" ,
53495349 tokenizeAndStringify (" void foo(int x) { for (;({ {}; x<1; });); }" ));
53505350 }
53515351
You can’t perform that action at this time.
0 commit comments