(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
new13.C
// PR c++/105803
// { dg-do compile }
// { dg-additional-options "-fchecking=2" }

namespace std {
template <typename> class shared_ptr {};
}
struct S {};
template <int> void build_matrices() {
  std::shared_ptr<S>(new S);
}