repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
CodeGen
/
bitfield-init.c
blob
bee4e7d3a059b9558f8a78b1624e7c305fb69236
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
(){
10
struct
Token one
= {
1
};
11
}
12
13
typedef
union
T0
{
char
field0
:
2
; }
T0
;
14
T0 T0_values
= {
0
};