]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/variadic-nested3.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-nested3.C
1 // PR c++/71834
2 // { dg-do compile { target c++11 } }
3
4 template < typename ... Ts > struct A
5 {
6 template < Ts ..., typename U > struct B {};
7 };
8
9 // should be, e.g.: A < int >::B < 0, int > e;
10 A < int >::B < 0 > e; // { dg-error "wrong number of template arguments" }
This page took 0.037443 seconds and 5 git commands to generate.