Debian Codegraph @

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

raw
1 // { dg-do compile { target c++11 } }
2 template <typename... T> struct A
3 {
4 void foo(T...);
5 A(T... t) { foo(t); } // { dg-error "18:parameter packs|t" }
6 };
7
8 A<int> a(0);