| struct bfs { | |
| int a: 2; | |
| int b: 30; | |
| }; | |
| int bar(void) | |
| { | |
| struct bfs bf = { .a = 1, .b = 4 }; | |
| return (struct bfs[]){bf, { .a = 3, .b = 6}}[1].b; | |
| } | |
| /* | |
| * check-name: compound-literal02.c | |
| * check-command: test-linearize -Wno-decl $file | |
| * | |
| * check-output-ignore | |
| * check-output-contains: ret\\..*\\$6 | |
| */ |