re PR c++/67184 (Missed optimization with C++11 final specifier)
[official-gcc.git] / gcc / testsuite / g++.dg / other / thunk2b.C
blobc8f4570923d8bde71547dd343de45edc0efeb2c7
1 // { dg-do compile { target arm*-*-* } }
2 // { dg-options "-mlong-calls -ffunction-sections" }
3 // { dg-additional-options "-fPIC" { target fpic } }
5 class a {
6 public:
7   virtual ~a();
8 };
10 class b : virtual a {};
12 class c : b {
13   ~c();
16 c::~c() {}