Sign in
cobalt
/
cobalt
/
72bde07ae3f88e8fd742a603ece725b122de47f5
/
.
/
src
/
third_party
/
llvm-project
/
compiler-rt
/
test
/
asan
/
TestCases
/
Darwin
/
fclose.c
blob: 7807122bdcc17ed7fe235db37b23eff607805e2b [
file
] [
log
] [
blame
]
// RUN: %clang_asan %s -o %t
// RUN: %run %t 2>&1 | FileCheck %s
#include
<stdio.h>
#include
<stdlib.h>
int
main
(
int
argc
,
const
char
*
argv
[])
{
fclose
(
NULL
);
fprintf
(
stderr
,
"Finished.\n"
);
return
0
;
}
// CHECK: Finished.