Sign in
llvm
/
llvm-test-suite
/
refs/tags/llvmorg-18.1.7
/
.
/
SingleSource
/
UnitTests
/
2004-06-20-StaticBitfieldInit.c
blob: 35224533d44a21dada2223e28f1261f3a7f8ebb8 [
file
] [
log
] [
blame
]
#include
<stdio.h>
struct
T
{
unsigned
X
:
5
;
unsigned
Y
:
6
;
unsigned
Z
:
5
;
};
struct
T GV
=
{
1
,
5
,
1
};
int
main
()
{
printf
(
"%d %d %d\n"
,
GV
.
X
,
GV
.
Y
,
GV
.
Z
);
return
0
;
}