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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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