summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/def-tmpl-arg1.C
blob: 6c3659f750266b5830d7e1bca392798474fa7859 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/8895
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
// { dg-do compile }

template <typename X, typename Y = B<X> > struct A // { dg-error "" }
{
    A();
    A(const A&);
};