[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / is_constructible1.C
blobb80ac28e72558fdc704c6f542a0ed686d46aa2e2
1 // { dg-do compile { target c++11 } }
2 // { dg-options "" }
4 template<class T> struct Foo { Foo(T = nullptr) {} };
6 static_assert (!__is_constructible(Foo<int>));