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/] [other/] [pr42806.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 "-O -fcompare-debug" }
3
 
4
struct S1 {
5
    ~S1() { }
6
};
7
 
8
struct S2 {
9
    S1 s1;
10
    void m();
11
    ~S2() { m(); }
12
};
13
 
14
struct S3 {
15
    S3(int, S2);
16
};
17
 
18
void foo()
19
{
20
  S3(0, S2());
21
}
22
 

powered by: WebSVN 2.1.0

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