2 // { dg-do compile { target c++11 } }
6 static constexpr bool t = false;
13 struct derived : base {
14 int f() noexcept(V<T>::t) override;
18 virtual int f() noexcept = 0;
23 static constexpr bool t = B;
27 struct derived2 : base2 {
28 int f() noexcept(W<B>::t) override; // { dg-error "looser exception specification" }
35 derived2<false> d2; // { dg-message "required from here" }