1 /* { dg-skip-if "requires hosted libstdc++ for cstdlib malloc" { ! hostedlib } } */
18 ptr = (int*)malloc(sizeof(int));
22 free(ptr); /* { dg-warning "double-'free' of 'b.B::ptr'" } */
31 bptr->foo (); /* { dg-message "\\(6\\) calling 'B::foo' from 'test'" "event 6" } */
32 /* { dg-message "\\(9\\) returning to 'test' from 'B::foo'" "event 9" { target *-*-* } .-1 } */