repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initialize HasMetadata to zero.
[llvm/avr.git]
/
test
/
FrontendC++
/
2009-04-23-bool2.cpp
blob
8614a37d36c45066bc60dc6ad9ddea444a474454
1
// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null
2
// g++.old-deja/g++.jason/bool2.C from gcc testsuite.
3
// Crashed before 67975 went in.
4
struct
F
{
5
bool
b1
:
1
;
6
bool
b2
:
7
;
7
};
8
9
int
main
()
10
{
11
F f
= {
true
,
true
};
12
13
if
(
int
(
f
.
b1
) !=
1
)
14
return
1
;
15
}