1 // { dg-do compile { target c++11 } } 2 // { dg-options "-fdelete-null-pointer-checks" } 3 void e(); f(int ()noexcept (e))4template <bool> void f(int() noexcept(e)) {} // { dg-error "convert" } 5 template void f<false>(int() noexcept); // { dg-error "does not match any template declaration" "" { target c++17 } } 6