(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
defarg21.C
// PR c++/71822
// { dg-do compile }

int bar (int);

template <typename T>
struct A
{
  explicit A (int x = bar (sizeof (T)));
};

struct B
{
  A <int> b[2];
};

void
baz ()
{
  B b;
}