fix string literals in test code
This commit is contained in:
parent
edd86c0b0a
commit
f361106770
|
@ -6883,21 +6883,21 @@ private:
|
|||
checkSelfInitialization("struct Foo : Bar {\n"
|
||||
" int i;\n"
|
||||
" Foo(int i)\n"
|
||||
" : Bar(""), i(i) {}\n"
|
||||
" : Bar(\"\"), i(i) {}\n"
|
||||
"};");
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
|
||||
checkSelfInitialization("struct Foo : std::Bar {\n" // #6073
|
||||
" int i;\n"
|
||||
" Foo(int i)\n"
|
||||
" : std::Bar(""), i(i) {}\n"
|
||||
" : std::Bar(\"\"), i(i) {}\n"
|
||||
"};");
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
|
||||
checkSelfInitialization("struct Foo : std::Bar {\n" // #6073
|
||||
" int i;\n"
|
||||
" Foo(int i)\n"
|
||||
" : std::Bar(""), i{i} {}\n"
|
||||
" : std::Bar(\"\"), i{i} {}\n"
|
||||
"};");
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue