OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / pr31445.C
1 // { dg-options "-std=gnu++0x" }
2 template <typename... T> struct A
3 {
4   void foo(T...);
5   A(T... t) { foo(t); } // { dg-error "parameter packs|t" }
6 };
7
8 A<int> a(0);