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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr51198.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-options "-std=gnu++0x" } */
2
 
3
struct A
4
{
5
  int i = 0 ? 0 : throw 1;
6
};
7
 
8
 
9
struct B
10
{
11
  int f();
12
  int i = f();
13
};
14
 
15
struct C
16
{
17
  C(int);
18
};
19
 
20
struct D
21
{
22
  C a = 0;
23
};
24
 
25
A a;
26
B b;
27
D d;
28
 
29
 

powered by: WebSVN 2.1.0

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