1 // { dg-do compile { target c++11 } }
2 // { dg-options "-fdelete-null-pointer-checks" }
3 void e();
f(int ()noexcept (e))4 template <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