(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
debug/
pr110295.C
// { dg-do compile }
// { dg-options "-g" }

template <typename T>
struct QCachedT
{
  void operator delete(void *, T *) {}
};
template<int a>
void exercise()
{
  struct thing_t
    : QCachedT<thing_t>
  {
  };
  thing_t *list[1];
  new thing_t; // { dg-warning "" }
}
int main() { exercise<1>(); }