summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/static4.C
blob: c5486326cddcc8672789454130ad478fade85a8c (plain)
1
2
3
4
5
6
7
template <class R>
struct A {
  static int _test; // { dg-error "" }
  static int _test; // { dg-error "" }
};
template <class R> int A<R>::_test = 0;
struct B : public A <int> { };