Debian Codegraph @

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

raw
1 /* PR c++/38646 */
2 /* { dg-do compile { target c++11 } } */
3
4 template<int...> struct A;
5
6 template<int... N> struct A<N..., N...> /* { dg-error "must be at the end" } */
7 {
8 template<typename> struct B;
9
10 template<typename T> struct B<T*> {};
11 };