Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
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" } } */