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
A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git]
/
test
/
FrontendC++
/
2005-02-19-BitfieldStructCrash.cpp
blob
8f571e074b8e2a2ea26c77a14106d25a85e2c62f
1
// RUN: %llvmgxx -S %s -o -
2
3
struct
QChar
{
unsigned short
X
;
QChar
(
unsigned short
); } ;
4
5
struct
Command
{
6
Command
(
QChar c
) :
c
(
c
) {}
7
unsigned int
type
:
4
;
8
QChar c
;
9
};
10
11
Command
X
(
QChar
(
'c'
));
12
13
void
Foo
(
QChar
);
14
void
bar
() {
Foo
(
X
.
c
); }