repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH 7/57][Arm][GAS] Add support for MVE instructions: vstr/vldr
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.base
/
anon.c
blob
ca86ce5c9c8c9693b6d86e24794b347a5bcb82b4
1
/* Test of anonymous union in a struct. */
2
3
#include <string.h>
4
5
struct
outer
6
{
7
int
one
;
8
int
two
;
9
10
struct
11
{
12
union
{
13
int
three
:
3
;
14
int
four
:
4
;
15
};
16
17
union
{
18
int
five
:
3
;
19
int
six
:
4
;
20
};
21
}
data
;
22
};
23
24
int
main
()
25
{
26
struct
outer val
;
27
28
memset
(&
val
,
0
,
sizeof
(
val
));
29
val
.
data
.
six
=
6
;
30
31
return
0
;
/* break here */
32
}