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
/
Darwin
/
fclose.c
blob
7807122bdcc17ed7fe235db37b23eff607805e2b
1
// RUN: %clang_asan %s -o %t
2
// RUN: %run %t 2>&1 | FileCheck %s
3
4
#include <stdio.h>
5
#include <stdlib.h>
6
7
int
main
(
int
argc
,
const char
*
argv
[]) {
8
fclose
(
NULL
);
9
fprintf
(
stderr
,
"Finished.
\n
"
);
10
return
0
;
11
}
12
13
// CHECK: Finished.