aboutsummaryrefslogtreecommitdiff
path: root/lib/asan/tests/null_deref.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asan/tests/null_deref.cc')
-rw-r--r--lib/asan/tests/null_deref.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/asan/tests/null_deref.cc b/lib/asan/tests/null_deref.cc
deleted file mode 100644
index f7ba4dd5f63f..000000000000
--- a/lib/asan/tests/null_deref.cc
+++ /dev/null
@@ -1,7 +0,0 @@
-__attribute__((noinline))
-static void NullDeref(int *ptr) {
- ptr[10]++;
-}
-int main() {
- NullDeref((int*)0);
-}