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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [eh1.C] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
// 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.