1 // PR c++/10416 2 // { dg-options "-Wunused" } 3 ~atendf::atend4 void f () { struct atend { ~atend () { __builtin_printf("leaving f\n"); } } a; } 5