Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept62.C
blob: 53606c7914250ec9766e6d53072c9f11d43ffdc0 [
file
] [
log
] [
blame
]
// PR c++/98333
// { dg-do compile { target c++11 } }
struct
T
{
template
<
bool
N
>
struct
S
{
S
()
noexcept
(
N
)
{}
};
int
a
=
__has_nothrow_constructor
(
S
<true>
);
};