]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr31442.C
re PR c++/31431 (ICE with invalid parameter pack)
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr31442.C
1 // { dg-options "-std=gnu++0x" }
2 template<typename... T, T = 0> struct A {}; // { dg-error "parameter packs|T|the end" }
3
4 struct B
5 {
6 template <template <typename...> class C> B(C<int>);
7 };
8
9 B b = A<int>();