repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr51198.C
blob
65009ff545829456881b3f21a3bb7ff0eff8bf42
1
/* { 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