Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
vect
/
param-max-aliased-pr26197.cc
blob: ddceba284a85d6166eba18cf98838da574ec3d1f [
file
] [
log
] [
blame
]
/* { dg-do compile } */
void
g
(
const
void
*);
struct
B
{
int
*
x
[
2
];
int
*
p
;
B
()
{
for
(
int
**
p
=
x
;
p
<
x
+
4
;
++
p
)
*
p
=
0
;
}
~
B
()
{
g
(
p
);
}
};
void
bar
()
{
const
B
&
b
=
B
();
g
(&
b
);
}