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
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
fopen_nullptr.c
blob
960dda334a612129523f558e28425851c9dd6c96
1
// Check that fopen(NULL, "r") is ok.
2
// RUN: %clang -O2 %s -o %t && %run %t
3
#include <stdio.h>
4
const char
*
fn
=
NULL
;
5
FILE
*
f
;
6
int
main
() {
f
=
fopen
(
fn
,
"r"
); }