summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.benjamin/15309-1.C
blob: aa5530fff7fdbaf7df4baa6a300bc9dccdc1f6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// { dg-do assemble  }
// { dg-options "-Wnon-virtual-dtor -Weffc++" }
// 981203 bkoz
// g++/15309

class bahamian {
public:
  bahamian ();
  ~bahamian ();  
};

class miami : public bahamian	// { dg-warning "" } // WARNING -
{
public:
   miami ();
   ~miami ();
};