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
/
asan
/
TestCases
/
asan_and_llvm_coverage_test.cpp
blob
776684fd8045d065f3e4123ccd1a20d6973c62b8
1
// RUN: %clangxx_asan -coverage -O0 %s -o %t
2
// RUN: %env_asan_opts=check_initialization_order=1 %run %t 2>&1 | FileCheck %s
3
4
#include <stdio.h>
5
int
foo
() {
return
1
; }
6
int
XXX
=
foo
();
7
int
main
() {
8
printf
(
"PASS
\n
"
);
9
// CHECK: PASS
10
}