Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
pr82899.C
blob: 0dee25f36e4547fddc1f17dcdcbc8bb74131fd36 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-optimized" } */
struct
A
{
int
i
;
A
(
A
&);
};
int
X
;
A
::
A
(
A
&
a
):
i
(
42
){
a
.
i
=
0
;
X
=
i
;
}
/* { dg-final { scan-tree-dump "X = 42;" "optimized" } } */