Skip to content

Commit 9716105

Browse files
Update testother.cpp
1 parent 6c6c205 commit 9716105

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎test/testother.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4207,6 +4207,9 @@ class TestOther : public TestFixture {
42074207
"};\n"
42084208
"int& f(S& s, bool b) {\n"
42094209
" return b ? s.a : s.b;\n"
4210+
"}\n"
4211+
"int* g(U& u) {\n"
4212+
" return &(u.i);\n"
42104213
"}\n");
42114214
ASSERT_EQUALS("", errout_str());
42124215
}

0 commit comments

Comments
 (0)