blob: 54aefdb091609fd318730aa04cc9f017a65a60dc [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-options "-fdelete-null-pointer-checks" }
void e();
template <bool> void f(int() noexcept(e)) {} // { dg-error "convert" }
template void f<false>(int() noexcept); // { dg-error "does not match any template declaration" "" { target c++17 } }