☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_constructible1.C
☽
☼
gcc/testsuite/g++.dg/ext/is_constructible1.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
// { dg-options "" }
3
4
template<class T> struct Foo { Foo(T = nullptr) {} };
5
6
static_assert (!__is_constructible(Foo<int>));