1 /* { dg-do compile } */
3 /* We were ICE because we wanted to check the type of the
4 elements of a conditional before we knew it was a conditional. */
6 struct player_spaceship
12 struct player_spaceship spaceship
;
14 struct packet_spaceship_info
16 char structure
[32 + 1];
18 send_spaceship_info (void)
21 struct player
*pplayer
;
22 struct packet_spaceship_info info
;
23 struct player_spaceship
*ship
= &pplayer
->spaceship
;
24 for (j
= 0; j
< 32; j
++)
26 info
.structure
[j
] = ship
->structure
[j
] ? '1' : '0';
28 lsend_packet_spaceship_info (&info
);