summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/meminit1.C
blob: 6fd024a26330eb44ac3622b8914e7211da0af222 (plain)
1
2
3
4
5
6
7
8
// { dg-options "-std=gnu++98" }
template <class T >
struct S
{
  S() : S() {} // { dg-error "base" }
};

S<int> s; // { dg-message "instantiated" }