repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
bitfield-init.c
blob
1f55222b188dee8a25b620ec15dec9e2fbed0e1d
1
// RUN: %clang_cc1 %s -emit-llvm -o %t
2
typedef
struct
{
unsigned int
i
:
1
; }
c
;
3
const
c d
= {
1
};
4
5
// PR2310
6
struct
Token
{
7
unsigned
n
:
31
;
8
};
9
void
sqlite3CodeSubselect
(
void
){
10
struct
Token one
= {
1
};
11
}
12
13
typedef
union
T0
{
char
field0
:
2
; }
T0
;
14
T0 T0_values
= {
0
};