Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / ctor5.C
blob6938b36b62ff3121456183e77ad59c377c1e31a9
1 // PR c++/24278
3 template<typename T> struct A
5   A() : T(0) {} // { dg-error "base" }
6 };
8 A<int*> a; // { dg-message "instantiated" }