summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/virtual7.C
blob: 20845eced57fb406732d26c6f539a96dd6c539a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }
// { dg-options "-fno-rtti" }
// Origin: Anthony Green <green@cygnus.com>

class _JvObjectPrefix
{
protected:
  virtual void finalize (void) = 0;
};

class Object : public _JvObjectPrefix
{
protected:
  virtual void finalize (void);
};

Object x;