Skip to content

Commit 26381df

Browse files
Update testother.cpp
1 parent 918547b commit 26381df

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎test/testother.cpp‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2788,14 +2788,14 @@ class TestOther : public TestFixture {
27882788
ASSERT_EQUALS("", errout_str());
27892789

27902790
check("struct S {\n" // #15130
2791-
" union {\n"
2792-
" int i;\n"
2793-
" struct {\n"
2794-
" char a[24];\n"
2795-
" } x;\n"
2796-
" };\n"
2797-
"};\n"
2798-
"int f(S s) { return s.i; }\n");
2791+
" union {\n"
2792+
" int i;\n"
2793+
" struct {\n"
2794+
" char a[24];\n"
2795+
" } x;\n"
2796+
" };\n"
2797+
"};\n"
2798+
"int f(S s) { return s.i; }\n");
27992799
ASSERT_EQUALS("[test.cpp:9:9]: (performance) Function parameter 's' should be passed by const reference. [passedByValue]\n", errout_str());
28002800

28012801
/*const*/ Settings settingsWin64 = settingsBuilder().platform(Platform::Type::Win64).build();

0 commit comments

Comments
 (0)