blob: 3f880b397cfeab0a0a6759471a3e264899ef6730 [file] [log] [blame]
// { dg-do compile { target c++11 } }
#include <type_traits>
template<class T> struct Foo { Foo(T = nullptr) {} };
static_assert(!std::is_constructible<Foo<int>>::value, "");