Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept69.C
blob: 9b87ba0cafb51254c3080c57572bcfbefb2a766f [
file
] [
log
] [
blame
]
// PR c++/100752
// { dg-do compile { target c++11 } }
struct
S
{
void
f
()
noexcept
{}
S
&
g
()
noexcept
(
noexcept
(
f
()))
{
f
();
return
*
this
;
}
};
struct
X
{
int
&
f
()
noexcept
(
noexcept
(
i
));
int
i
;
};