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
PR c++/35116
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
value2.C
blob
fbe16647126434f45e316ae64bcec8534b6e512e
1
// PR c++/35116
2
// Test that break_out_target_exprs works properly with complex
3
// value-initialization.
4
5
struct A
6
{
7
virtual void f ();
8
};
9
10
struct B
11
{
12
A a;
13
};
14
15
struct C
16
{
17
C (int, B = B());
18
};
19
20
void f ()
21
{
22
C c (4);
23
}