Sign in
apache
/
cordova-osx
/
6d00379c5b0ff30714987ad3172e30356620105b
/
.
/
node_modules
/
uncrustify
/
tests
/
input
/
c
/
enum-struct-init.c
blob: 6660e4a4c970b1d92c928086fb21bb0c58277df4 [
file
] [
log
] [
blame
]
enum
foo_idx
{
FOO_1
,
FOO_2
,
FOO_3
,
};
struct
foo
{
const
char
*
str
;
int
values
[
8
];
};
struct
foo bar
[]
=
{
[
FOO_1
]
=
{
"junk"
,
{
1
}
},
[
FOO_2
]
=
{
"morejunk"
,
{
1
,
2
,
3
}
},
[
FOO_3
]
=
{
"somemore"
,
{
1
,
2
,
3
,
4
,
5
,
6
}
},
};