Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
};