Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/firmware-samus-6300.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
has_nothrow_constructor-2.C
blob: 9191c3e97f8d97f06ab0fc6fac13d7873c8210f5 [
file
] [
log
] [
blame
]
// PR c++/55842
// { dg-options -std=c++11 }
template
<
class
=
void
>
struct
number
{
number
()
noexcept
(
noexcept
(
0
))
{
}
};
const
int
z
=
__has_nothrow_constructor
(
number
<>);