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++/67273
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr52071.C
blob
99456c0041a077c3c6fe337f0e8ae2f3a0154ed9
1
// PR c++/52071
2
3
struct C1 {
4
C1(int);
5
};
6
7
struct C2 {
8
C2();
9
C2(C1);
10
};
11
12
void f()
13
{
14
int x;
15
int y = 1;
16
C2 vc;
17
18
vc = C2(C1(x = y));
19
20
vc = (C2(C1(x = y)));
21
22
vc = (C2(C1((0, x = y))));
23
}