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;
};