2014-08-04 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr33692.c
blob08ee332ddfbcce8ecec91aa669678ac716684bc1
1 /* { dg-do compile } */
3 /* We ICEd with type-checking enabled. */
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)
10 snd_pcm_info((snd_pcm_info_t *) &ctrl->info);