aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/warn/Wnvdtor.C
blob: f03cff5b31ced686c5d1a03aa43907c613d584b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "-Wnon-virtual-dtor" }

extern "Java"
{
  class Foo
  {
  public:
    virtual void bar( void);
  };
}