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