Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_constructible1.C
blob: b80ac28e72558fdc704c6f542a0ed686d46aa2e2 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options "" }
template
<
class
T
>
struct
Foo
{
Foo
(
T
=
nullptr
)
{}
};
static_assert
(!
__is_constructible
(
Foo
<int>
));