Weff1.C   [plain text]


// { dg-options "-Weffc++" }

struct S {};
/* Base classes should have virtual destructors.  */
struct T : public S {}; // { dg-warning "" }