1 // On ARM EABI platforms, key methods may never be inline.
2 // { dg-do compile { target arm*-*-eabi* arm*-*-symbianelf* } }
3 // { dg-final { scan-assembler-not _ZTV1S } }
4 // { dg-final { scan-assembler-not _ZTV1T } }
5 // { dg-final { scan-assembler _ZTV1U } }
6
7 struct S {
8 virtual void f();
9 };
10
f()11 inline void S::f() {}
12
13 struct T {
14 virtual void g();
15 virtual void h();
16 };
17
g()18 inline void T::g() {}
19
20 struct U {
21 virtual void i();
22 virtual void j();
23 };
24
i()25 inline void U::i() {}
j()26 void U::j () {}
27