summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/SharedLibs/shared-lib-test-so.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/SharedLibs/shared-lib-test-so.cc')
-rw-r--r--test/asan/TestCases/SharedLibs/shared-lib-test-so.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/asan/TestCases/SharedLibs/shared-lib-test-so.cc b/test/asan/TestCases/SharedLibs/shared-lib-test-so.cc
deleted file mode 100644
index 8ae352f6a..000000000
--- a/test/asan/TestCases/SharedLibs/shared-lib-test-so.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-//===----------- shared-lib-test-so.cc --------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file is a part of AddressSanitizer, an address sanity checker.
-//
-//===----------------------------------------------------------------------===//
-#include <stdio.h>
-#include <string.h>
-
-int pad[10];
-int GLOB[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
-
-extern "C"
-void inc(int index) {
- GLOB[index]++;
-}
-
-extern "C"
-void inc2(int *a, int index) {
- a[index]++;
-}