summaryrefslogtreecommitdiff
path: root/test/sanitizer_common/TestCases/fopen_nullptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sanitizer_common/TestCases/fopen_nullptr.c')
-rw-r--r--test/sanitizer_common/TestCases/fopen_nullptr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/sanitizer_common/TestCases/fopen_nullptr.c b/test/sanitizer_common/TestCases/fopen_nullptr.c
deleted file mode 100644
index 960dda334a61..000000000000
--- a/test/sanitizer_common/TestCases/fopen_nullptr.c
+++ /dev/null
@@ -1,6 +0,0 @@
-// Check that fopen(NULL, "r") is ok.
-// RUN: %clang -O2 %s -o %t && %run %t
-#include <stdio.h>
-const char *fn = NULL;
-FILE *f;
-int main() { f = fopen(fn, "r"); }