1 // PR c++/60626 2 // { dg-do compile { target c++14 } } 3 4 struct A {}; 5 6 void (*A::p)(auto) = 0; // { dg-error "auto|static data member|template" } 7