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
* MAINTAINERS: Add a note that maintainership also includes web
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr59477.C
blob
788c751e51cf7c529fd1cc40df1c9fc8645937fb
1
/* { dg-do compile } */
2
/* { dg-options "-O" } */
3
4
struct A
5
{
6
unsigned *a, b;
7
A (unsigned x) : a (), b (x) {}
8
};
9
10
struct B
11
{
12
B (int);
13
B (const B &) {}
14
};
15
16
B bar (B, B, A);
17
int v;
18
19
void
20
foo ()
21
{
22
B c = 0;
23
bar (c, c, A (1ULL << v));
24
}