blob: f904bd4dc9b836bae7456f0288da9dafed449d15 [file] [log] [blame]
// PR c++/47974
typedef double T;
struct A
{
template<T> void foo(); // { dg-error "type" "" { target c++17_down } }
};
template<T N = 0.0, void (A::*)() = &A::foo<N> > struct B {}; // { dg-error "type|declared" "" { target c++17_down } }
B<> b; // { dg-error "(could not convert|no matches)" "" { target c++17_down } }