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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [key1.C] - Blame information for rev 701

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 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.