Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/vt-55323.C

raw
1 // { dg-do compile { target c++11 } }
2
3 struct foo {
4 foo(int a, float b);
5 };
6
7 struct bar : foo {
8 template<typename... Args>
9 bar(Args&&... args) : foo(2, args){} // { dg-error "parameter packs" }
10 };
11
12 bar b(2,1.);