1 2 3 4 5 6 7
// PR c++/19811 class C; // { dg-error "forward" } void foo(void *p) { delete [] ((C*)p) ; // { dg-error "" } }