1// PR c++/45665
2
3template < typename > struct S;
4void (S <0>::*ptr) (); // { dg-error "type" }
5