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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [opt/] [eh1.C] - Blame information for rev 856

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

Line No. Rev Author Line
1 149 jeremybenn
// PR middle-end/14477
2
// { dg-do compile }
3
// { dg-options "-O2 -fno-default-inline" }
4
 
5
struct A
6
{
7
  A();
8
};
9
 
10
struct B
11
{
12
  B(const A*);
13
};
14
 
15
struct C
16
{
17
  B b;
18
  C(int) : b(new A) {}
19
};
20
 
21
C c(0);

powered by: WebSVN 2.1.0

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