Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept74.C
blob: c439c9dc88ca5c08b641aa9cb274f491e7a15d01 [
file
] [
log
] [
blame
]
// PR c++/104079
// { dg-do compile { target c++11 } }
template
<
bool
B
>
struct
AT
{
static
void
f
()
noexcept
(
B
);
void
g
()
noexcept
(
noexcept
(
f
()))
{
static_assert
(
noexcept
(
f
()),
""
);
}
};