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

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