1 // PR c++/92907 - noexcept does not consider "const" in member functions.
2 // { dg-do compile { target c++11 } }
3 
4 void f(const int&);
5 void f(int&) = delete;
6 
7 struct A {
8   int i;
9   void g() const noexcept(noexcept(f(i)));
10 };
11