OSDN Git Service

PR c++/28606
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / tmpl-tmpl-param1.C
1 // PR c++/7259
2 // Origin: Philipp Buettgenbach <P.Buettgenbach@FH-Wolfenbuettel.DE>
3 // Reduced version: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4 // { dg-do compile }
5
6 template <template <int> class T> class A : public T<0> {};
7
8 template <typename> struct B
9 {
10     template <int> class C {};
11     typedef A<C> D;
12 };
13
14 B<void>::D d;