repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git]
/
test
/
FrontendC++
/
2010-06-22-BitfieldInit.cpp
blob
8dceb78bfc67f183de44f8480646a9ab7a708de2
1
// RUN: %llvmgxx -g -S %s
2
struct
TEST2
3
{
4
int
subid
:
32
;
5
int
:
0
;
6
};
7
8
typedef
struct
_TEST3
9
{
10
TEST2 foo
;
11
TEST2 foo2
;
12
}
TEST3
;
13
14
TEST3 test
=
15
{
16
{
0
},
17
{
0
}
18
};
19
20
int
main
() {
return
0
; }