summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ctor5.C
blob: 6938b36b62ff3121456183e77ad59c377c1e31a9 (plain)
1
2
3
4
5
6
7
8
// PR c++/24278

template<typename T> struct A
{
  A() : T(0) {} // { dg-error "base" }
};

A<int*> a; // { dg-message "instantiated" }