blob: 1075c69a491dffa6c69b2b175748702fa96a6d5d [file] [log] [blame]
// PR c++/69300
// { dg-do compile { target c++11 } }
// { dg-options "-fdelete-null-pointer-checks" }
template<typename A>
struct F {
template<typename B>
void f() noexcept(&F::template f<B>) {} // { dg-error "exception specification|convert|resolve" }
};
int main () {
F<void>().f<int>();
}