1 /* PR c++/95768 - pretty-printer ICE on -Wuninitialized with allocated storage
3 { dg-options "-O2 -Wall -Wno-array-bounds" } */
5 extern "C" void *malloc (__SIZE_TYPE__);
11 void operator= (int) { e (i); }
20 m *o() { return (m *)this; }
26 header = (n *)malloc (0);
27 m b = *header->o(); // { dg-warning "\\\[-Wuninitialized" }
32 void detach2() { p(); }