2 * { dg-options "-std=c23 -O2" } */
5 void *alias(void *ap
, void *bp
, void *x
, void *y
)
7 struct foo
{ struct bar
*f
; } *a
= ap
;
8 struct bar
{ long x
; };
14 struct foo
{ struct bar
*f
; } *b
= bp
;
15 struct bar
{ long x
; };
17 // after completing bar, the two struct foo should be compatible
28 struct bar
{ long x
; };
29 struct foo
{ struct bar
*f
; } a
;
31 if (&y
!= alias(&a
, &a
, &x
, &y
))