aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/spec14.C
blob: 045865f45a5a8f1bcf3f98a28c68e2606034521d (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble }
class X
{
public:
  template <typename A, typename B, typename C>
  X() {}
  
  template <typename A, typename B>
  X::X<A, void, B>() {} // { dg-error "" } non-template type used as a template
};