https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52869
--- Comment #1 from htfy96 <lz96 at foxmail dot com> --- #include <iostream> using namespace std; class A { public: void g() noexcept(false) {} void f() noexcept( noexcept( g() )) {}; }; A a; int main() { cout<<noexcept(a.f())<<endl; return 0; } This is another testcase.