summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.benjamin/15309-2.C
blob: 28317973127fd153d42fbb5dc4ff676428e0ff10 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// { dg-options "-Wnon-virtual-dtor -Weffc++" }
// 981203 bkoz
// g++/15309

class bermuda {  // { dg-warning "" } // WARNING -
public:
  virtual int func1(int); 
  ~bermuda();
};