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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
compiler-rt
/
test
/
msan
/
icmp_slt_allones.cpp
blob
8eff2eac8ad925e0f30e841f1e468d4b209f149f
1
// PR24561
2
// RUN: %clangxx_msan -O2 -g %s -o %t && %run %t
3
4
#include <stdio.h>
5
6
struct
A
{
7
int
c1
:
7
;
8
int
c8
:
1
;
9
int
c9
:
1
;
10
A
();
11
};
12
13
__attribute__
((
noinline
))
A
::
A
() :
c8
(
1
) {}
14
15
int
main
() {
16
A
*
a
=
new
A
();
17
if
(
a
->
c8
==
0
)
18
printf
(
"zz
\n
"
);
19
return
0
;
20
}