Skip to content

Commit f9f8ecb

Browse files
committed
Oops, wrong branch
1 parent 4c9f192 commit f9f8ecb

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,6 @@ struct C {
1717
int m;
1818
};
1919

20-
template <typename T> void test() {
21-
T t;
22-
t.g();
23-
}
24-
25-
template <typename T> void call_test() {
26-
// call it with type parameter B to trigger indexing
27-
test<T>();
28-
}
29-
30-
void call_call_test() { call_test<B>(); }
31-
3220
int test_useless_assignment(int &x, int p) {
3321
x = 0; // COMPLIANT - x is a reference parameter, so is visible by the caller
3422
int y = 0; // NON_COMPLIANT - never used

0 commit comments

Comments
 (0)