// PR c++/69300 // { dg-do compile { target c++11 } } // { dg-options "-fdelete-null-pointer-checks" } template struct F { template void f() noexcept(&F::template f) {} // { dg-error "exception specification|convert|resolve" } }; int main () { F().f(); }