1 // PR c++/70572 2 // { dg-do compile { target c++14 } } 3 foo()4 void foo () 5 { 6 decltype (auto) a = foo; // { dg-error "initializer" } 7 } 8