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
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr71737.C
blob
384d947845286565ce603f3d2ad1c7c228927fdb
1
// PR c++/78765
2
// { dg-do compile { target c++11 } }
3
4
template <template <typename ...> class TT>
5
struct quote {
6
template <typename ...Ts>
7
using apply = TT<Ts...>; // { dg-error "pack expansion" }
8
};
9
10
template <typename>
11
using to_int_t = int;
12
13
using t = quote<quote<to_int_t>::apply>::apply<int>;