(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
ext/
is_nothrow_constructible2.C
// { dg-do compile { target c++11 } }

struct X {
  X() = default;
  template<class... U> X(U...) noexcept;
};

struct Y {
  template<class... U> Y(U...);
};

#define SA(X) static_assert((X),#X)

SA(__is_nothrow_constructible(X));
SA(!__is_nothrow_constructible(Y));