1 // PR c++/58533 2 // { dg-do compile { target c++14 } } 3 foo()4 void foo() 5 { 6 void (*fp)(auto); // { dg-error "auto|not permitted" } 7 } 8