blob: f3e576ae988645bb6fbe00704567a8114bcd3df5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// PR c++/69111
// { dg-do compile { target c++11 } }
template <template <typename> class ...>
struct template_list {};
template <typename T>
struct A
{};
template <typename>
struct B
{
template <typename T>
using type = A<T>;
};
template <typename ... Types>
struct C
{
using type = template_list<B<Types>::template type...>;
};
int main()
{
return 0;
}
|