1 // PR c++/60332 2 // { dg-do compile { target c++14 } } 3 4 void foo(); 5 6 auto f = (auto(*)())(&foo); // { dg-error "invalid" } 7