repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-ttp8.C
blob
f3e576ae988645bb6fbe00704567a8114bcd3df5
1
// PR c++/69111
2
// { dg-do compile { target c++11 } }
3
4
template <template <typename> class ...>
5
struct template_list {};
6
7
template <typename T>
8
struct A
9
{};
10
11
template <typename>
12
struct B
13
{
14
template <typename T>
15
using type = A<T>;
16
};
17
18
template <typename ... Types>
19
struct C
20
{
21
using type = template_list<B<Types>::template type...>;
22
};
23
24
int main()
25
{
26
return 0;
27
}