(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
noexcept69.C
// 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;
};