1 /* PR c/64766 */ 2 /* { dg-do compile } */ 3 4 void foo()5 foo () 6 { 7 } 8 9 void foo () = 0; /* { dg-error "is initialized like a variable|invalid initializer" } */ 10