OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [abi/] [key1.C] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// 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
 
11
inline void S::f() {}
12
 
13
struct T {
14
  virtual void g();
15
  virtual void h();
16
};
17
 
18
inline void T::g() {}
19
 
20
struct U {
21
  virtual void i();
22
  virtual void j();
23
};
24
 
25
inline void U::i() {}
26
void U::j () {}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.