Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_nothrow_constructible5.C
blob: b8471130481938ddff4e2a46b8dd8796ce5dea5f [
file
] [
log
] [
blame
]
// PR c++/80991
// { dg-do compile { target c++11 } }
template
<bool>
void
foo
()
{
static_assert
(
__is_nothrow_constructible
(
int
,
int
),
""
);
}
void
bar
()
{
foo
<true>
();
}