summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash38.C
blob: c652cc86f6ef96d0fa91cc57c75dce14e4fbca27 (plain)
1
2
3
4
5
6
7
8
// PR c++/23307

class A
{
  template<class R>
  static void f(X&); // { dg-error "" }
  inline void A::f<void>(X&); // { dg-error "f|expected" }
};