Skip to content

Commit 845ba29

Browse files
committed
Another FP suspect case
1 parent 55962dc commit 845ba29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpp/autosar/test/rules/A0-1-1/test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ static void foo(B &b) noexcept {
2727
B b2 = B();
2828
auto b3 = &b2;
2929
b3->g();
30+
auto b2 = b;
31+
b2.g();
3032
}
3133

3234
template <typename T> void test() {

0 commit comments

Comments
 (0)