Skip to content

Commit e6944fa

Browse files
committed
Add test case
1 parent 893b3ae commit e6944fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang-tools-extra/test/clang-tidy/checkers/readability/redundant-typename.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ class A {
203203
// CHECK-FIXES-20: friend void k(T::R) {}
204204

205205
friend struct T::R;
206+
using typename T::R;
206207
enum E1 : typename T::R {};
207208
enum class E2 : typename T::R {};
208209
operator typename T::R();

0 commit comments

Comments
 (0)