summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/tmpl-tmpl-param1.C
blob: 1fec1af42ac3d090dce8d4c13fb0921b18121512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/7259
// Origin: Philipp Buettgenbach <P.Buettgenbach@FH-Wolfenbuettel.DE>
// Reduced version: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// { dg-do compile }

template <template <int> class T> class A : public T<0> {};

template <typename> struct B
{
    template <int> class C {};
    typedef A<C> D;
};

B<void>::D d;