1 /* Test struct scoping rules
7 /* declare an incomplete struct type */
17 /* complete the previously incomplete type */
32 ASSERT(s2
.other
->x
== 1);
33 ASSERT(s1
.other
->z
== 3);
34 ASSERT(s1
.other
->other
->y
== 2);
35 ASSERT(s1
.mykind
->y
== 2);
48 struct tag1 ls2
; /* should bind to global level tag1 */
54 struct tag2
*globals2
; /* should bind to global level tag2 */
60 struct tag2
; /* incomplete local tag */
62 struct tag2
*locals2
; /* should bind to local level s2 tag */