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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr45316.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// { dg-options "-O1 -ftree-pre -fnon-call-exceptions" }
3
 
4
struct A
5
{
6
  int i;
7
};
8
 
9
struct B : A
10
{
11
  int i[6];
12
  B (int = 0) : A ()
13
  {
14
    m ();
15
  }
16
  int m ();
17
};
18
 
19
struct C : B
20
{
21
};
22
 
23
void
24
foo ()
25
{
26
  new C ();
27
}
28
 

powered by: WebSVN 2.1.0

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