1 // PR c++/21352 2 3 struct coperator_stack 4 { 5 template<class type> push3coperator_stack6 void push3() 7 { 8 } 9 }; 10 11 struct helper {}; 12 13 template<class F> bla(F f)14void bla(F f) 15 { 16 } 17 18 template <typename ScannerT> 19 struct definition 20 { definitiondefinition21 definition() 22 { 23 bla(coperator_stack::push3<helper>); // { dg-error "pointer to member" } 24 } 25 }; 26 27