2 * { dg-options "-std=c23 -O2" }
6 /* These tests check that a composite type for a struct
7 * can alias the original definition. */
9 struct foo
{ int (*y
)[]; int x
; } s
;
11 int test_foo(struct foo
* a
, void* b
)
15 struct foo
{ int (*y
)[1]; int x
; } t
;
16 typeof(*(1 ? &s
: &t
)) *p
= b
;
27 if (2 != test_foo(&y
, &y
))