Skip to content

Commit a80c8b0

Browse files
committed
M14-6-1: Remove incompatible clang case
1 parent 4293582 commit a80c8b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/autosar/test/rules/M14-6-1/test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ template <typename T> class E : D {
7373
m = 0; // COMPLIANT - does not apply to non dependent base types
7474
g(); // COMPLIANT - does not apply to non dependent base types
7575
TYPE t1 = 0; // COMPLIANT - does not apply to non dependent base types
76-
void (D::*p)() =
77-
&g; // COMPLIANT - does not apply to non dependent base types
76+
// void (*p)() = &g; // NON_COMPILABLE - clang does not accept this
7877
}
7978
};

0 commit comments

Comments
 (0)