Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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>
));