Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d8a65c16bb35954592d5f6b4939c9850c672e901
/
.
/
test
/
CodeGen
/
2008-02-07-bitfield-bug.c
blob: 996cc4c56a83d4f39cecb8845e6e1f8c45fe282d [
file
] [
log
] [
blame
]
Lauro Ramos Venancio
8432f4b
2008-02-07 18:18:58 +0000
[
diff
] [
blame
]
1
// RUN: clang %s -emit-llvm
2
// PR1990
3
4
struct
test
{
5
char
a
[
3
];
6
unsigned
char
b
:
1
;
7
};
8
9
void
f
(
struct
test
*
t
)
{
10
t
->
b
=
1
;
11
}