// PR c++/118190 // { dg-do compile { target c++11 } } struct S { template struct S5 { void f1() noexcept(noexcept(i)) { } int i; }; S5 s5; static_assert (noexcept(s5.f1()), ""); // { dg-error "not available until end of class|static assertion failed" } };