Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr33692.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 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 |