repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
ext
/
desig1.C
blob
c3ff4c1425815fef8b827d39516de62b811ae80e
1
// { dg-options "" }
2
3
struct a {
4
int x;
5
};
6
7
struct b {
8
int x;
9
int y;
10
};
11
12
struct foo {
13
union {
14
struct a a;
15
struct b b;
16
} u;
17
};
18
19
int main(void)
20
{
21
struct foo bar = { u: { b: { x: 0, y: 0, }}};
22
(void)bar;
23
return 0;
24
}