Skip to content

Commit eba7928

Browse files
committed
Add test for 129620
1 parent bd13433 commit eba7928

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

clang/test/SemaCXX/ctad.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,23 @@ int main()
109109

110110
}
111111

112+
namespace GH129620 {
113+
114+
template <class... Ts>
115+
struct A {
116+
constexpr A(Ts...) {}
117+
};
118+
119+
template <class... Ts>
120+
using Foo = A<Ts...>;
121+
122+
template <class T>
123+
using Bar = Foo<T, T>;
124+
125+
Bar a{0, 0};
126+
127+
}
128+
112129
namespace GH129998 {
113130

114131
struct converible_to_one {

0 commit comments

Comments
 (0)