1/* { dg-do compile } */ 2 3/* We ICEd with type-checking enabled. */ 4 5typedef struct { int i; } snd_pcm_info_t; 6typedef struct { snd_pcm_info_t info; } snd_pcm_shm_ctrl_t; 7void snd_pcm_info(snd_pcm_info_t *); 8int pcm_shm_cmd(volatile snd_pcm_shm_ctrl_t *ctrl) 9{ 10 snd_pcm_info((snd_pcm_info_t *) &ctrl->info); 11} 12 13