struct a { void f() {} void g() noexcept(noexcept(f())) {}}; int main() {}
Standard input is empty
prog.cpp:3:34: error: cannot call member function ‘void a::f()’ without object void g() noexcept(noexcept(f())) {} ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!