Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept12.C
blob: 185364b0f8b2b6fcd7fb2a88d758d22032d0c92a [
file
] [
log
] [
blame
]
// Test that we handle merging with deferred noexcept.
// { dg-do compile { target c++11 } }
template
<
class
U
>
struct
O
{
template
<
class
T
>
void
f
()
noexcept
(
noexcept
(
T
()));
};
template
<>
template
<>
void
O
<int>
::
f
<int>
()
noexcept
{
}