We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845ba29 commit b9f0750Copy full SHA for b9f0750
cpp/autosar/test/rules/A0-1-1/options.clang
cpp/autosar/test/rules/A0-1-1/test.cpp
@@ -27,8 +27,12 @@ static void foo(B &b) noexcept {
27
B b2 = B();
28
auto b3 = &b2;
29
b3->g();
30
- auto b2 = b;
31
- b2.g();
+ B &b4 = b;
+ b4.g();
32
+ auto &b5 = *new B();
33
+ b5.g();
34
+ auto &b5 = new B();
35
36
}
37
38
template <typename T> void test() {
0 commit comments