OSDN Git Service

2012-12-15 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / vt-34753.C
1 // { dg-options "-std=c++0x" }
2 template<typename... T> struct A
3 {
4   template<T> struct B {}; // { dg-error "not expanded|T" }
5 };
6
7 A<int>::B<0> b;
8
9 template<typename... T> struct B
10 {
11   template<T> B(); // { dg-error "not expanded|T" }
12 };
13
14 B<int> c;