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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/12726
2
// Origin: Vladimir Zidar  
3
// Reduced version: Volker Reichelt  
4
// { dg-options "" }
5
 
6
struct A
7
{
8
    A();
9
    A(const A&);
10
    A(int);
11
};
12
 
13
struct B
14
{
15
    A a;
16
};
17
 
18
void foo()
19
{
20
    B b;
21
    b = (B){0};
22
}

powered by: WebSVN 2.1.0

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