aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/ctor5.C
blob: 047543cf85b90b57f44a506dc55c68ae5f345827 (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 "required" }