OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/46124
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr32950.C
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
}