blob: a3db66e91408131221e70c3a8b9a3402a4141103 [file] [log] [blame]
// PR c++/95311
// { dg-additional-options -fsanitize=undefined }
class a {
virtual long b() const;
};
class c : a {
public:
long b() const;
};
class d : c {
long e();
};
long d::e() { b(); return 0; }