Skip to content

Commit 8b276cb

Browse files
committed
init
1 parent 5d0671c commit 8b276cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testsimplifyusing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,8 +902,8 @@ class TestSimplifyUsing : public TestFixture {
902902
const char code3[] = "using FP = std::string (*)();\n"
903903
"using FPC = std::string (*const)();\n"
904904
"FP fp;\n"
905-
"FPC fpc;\n";
906-
const char expected3[] = "std :: string ( * fp ) ( ) ; std :: string ( * const fpc ) ( ) ;";
905+
"FPC fpc{};\n";
906+
const char expected3[] = "std :: string ( * fp ) ( ) ; std :: string ( * const fpc ) ( ) { } ;";
907907
ASSERT_EQUALS(expected3, tok(code3));
908908
ASSERT_EQUALS("", errout_str());
909909
}

0 commit comments

Comments
 (0)