]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/variadic175.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic175.C
1 // PR c++/84936
2 // { dg-do compile { target c++11 } }
3
4 struct A
5 {
6 template<typename... T> A(T... t)
7 : decltype(t)() {} // { dg-error "parameter pack" }
8 };
9
10 A a;
This page took 0.068486 seconds and 5 git commands to generate.