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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [abi/] [covariant1.C] - Blame information for rev 315

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

Line No. Rev Author Line
1 301 jeremybenn
// { dg-do compile }
2
// { dg-options "-w" }
3
 
4
// We don't want to use a covariant thunk to have a virtual
5
// primary base
6
 
7
struct c4 {};
8
 
9
struct c6 : c4 { virtual c4* f17(); };
10
 
11
c4* c6::f17() { return 0; }
12
 
13
struct c11 : virtual c6 { int i; };
14
 
15
struct c12 : c11 { };
16
 
17
struct c14 :
18
  virtual c12,
19
  virtual c11 { virtual c12* f17(); };
20
 
21
// { dg-final { scan-assembler-not "\n_ZTch0_v0_n16_N3c143f17Ev\[: \t\n\]" } }

powered by: WebSVN 2.1.0

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