Debian Codegraph @

libstdc++-v3/testsuite/20_util/is_constructible/68430.cc

raw
1 // { dg-do compile { target c++11 } }
2
3 #include <type_traits>
4
5 template<class T> struct Foo { Foo(T = nullptr) {} };
6 static_assert(!std::is_constructible<Foo<int>>::value, "");