blob: 134212c3613db3e3b238150d92886e2958e0ccf9 [file] [log] [blame]
// PR c++/86476 - noexcept-specifier is a complete-class context
// { dg-do compile { target c++11 } }
int g;
struct S {
int b;
friend void fn1(int n) noexcept(noexcept(n));
friend void fn2() noexcept(noexcept(g));
friend void fn3() noexcept(noexcept(b));
};