1 2 3 4 5 6 7 8
extern void f (char*); extern const char * const target = "foo"; void g () { f (target); // { dg-error "conversion" } }