Skip to content

Commit 64c1fcc

Browse files
committed
test
1 parent d18a727 commit 64c1fcc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

clang-tools-extra/test/clang-tidy/checkers/bugprone/crtp-constructor-accessibility.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,3 +260,16 @@ class CRTP
260260

261261
class A : CRTP<A> {};
262262
} // namespace no_warning
263+
264+
namespace no_warning_unsupported {
265+
template<typename... Types>
266+
class CRTP
267+
{};
268+
269+
class A : CRTP<A> {};
270+
271+
void foo() {
272+
A A;
273+
(void) A;
274+
}
275+
} // namespace no_warning_unsupported

0 commit comments

Comments
 (0)