(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1z/
class-deduction34.C
// { dg-do compile { target c++17 } }

template <class T>
struct A
{
  template <class U>
  static constexpr bool B = U();

  template <class U, bool V = B<U>>
  A(T, U);
};

A a (1,2);