Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
has_nothrow_constructor-2.C
blob: 8123fe93d1c2b52412c347cd77cb2b67d3472c24 [
file
] [
log
] [
blame
]
// PR c++/55842
// { dg-do compile { target c++11 } }
template
<
class
=
void
>
struct
number
{
number
()
noexcept
(
noexcept
(
0
))
{
}
};
const
int
z
=
__has_nothrow_constructor
(
number
<>);