blob: 5b49f53069d546513bc0a29994762bdd935323c6 [file] [log] [blame]
/* { dg-do compile } */
class EbmlElement {
virtual EbmlElement * Clone() const;
};
class KaxTracks : public EbmlElement {
public:
EbmlElement * Clone() const {
return new KaxTracks(*this);
}
};
KaxTracks kax_tracks;
void finish_file(void)
{
kax_tracks.Clone();
}