Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr71737.C

raw
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>;