OSDN Git Service

PR rtl-optimization/52139
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr33692.c
1 /* { dg-do compile } */
2
3 /* We ICEd with type-checking enabled.  */
4
5 typedef struct { int i; } snd_pcm_info_t;
6 typedef struct { snd_pcm_info_t info; } snd_pcm_shm_ctrl_t;
7 void snd_pcm_info(snd_pcm_info_t *);
8 int pcm_shm_cmd(volatile snd_pcm_shm_ctrl_t *ctrl)
9 {
10   snd_pcm_info((snd_pcm_info_t *) &ctrl->info);
11 }
12