3 struct KrSelectionMode { virtual void init() = 0; }; // { dg-error "previous definition" }
4 struct KrKDESelectionMode : public KrSelectionMode { void init() { } }; // { dg-error "previous definition" }
5 struct KrSelectionMode { virtual void init() = 0; }; // { dg-error "" }
6 struct KrKDESelectionMode : public KrSelectionMode { void init() { } }; // { dg-error "" }
7 KrKDESelectionMode krKDESelectionMode;