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
2014-04-07 Charles Baylis <charles.baylis@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr32950.C
blob
8d64296e40b6079770e3581e447fa4d8bd1f56ab
1
/* { dg-do compile } */
2
3
struct A
4
{
5
__complex__ double c;
6
};
7
8
struct B
9
{
10
A a;
11
B(A x) : a(x) {}
12
void foo();
13
};
14
15
void bar()
16
{
17
B b = A();
18
B(b).foo();
19
}