Sign in
gnu
/
gcc
/
2c564e813c0626802e5bfb066c094933d5e6a774
/
.
/
libstdc++-v3
/
testsuite
/
20_util
/
is_constructible
/
68430.cc
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
,
""
);