3 /* { dg-options "-g" } */
4 /* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */
6 struct S
{ unsigned int a
; unsigned int *b
; };
7 struct T
{ struct S a
; struct S b
; };
8 struct U
{ const char *u
; };
21 bar (struct T
*s
, int a
, int b
)
33 struct U x
= foo ("this is x");
35 y
.b
= n
; /* { dg-final { gdb-test 38 "t.a.a" "17" } } */
36 y
.a
= 0; /* { dg-final { gdb-test 38 "*t.a.b" "17" } } */
37 bar (&t
, 17, 21); /* { dg-final { gdb-test 38 "t.b.a" "21" } } */
38 v
++; /* { dg-final { gdb-test 38 "*t.b.b" "21" } } */