diff options
Diffstat (limited to 'lib/asan/lit_tests/TestCases/strip_path_prefix.c')
-rw-r--r-- | lib/asan/lit_tests/TestCases/strip_path_prefix.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/asan/lit_tests/TestCases/strip_path_prefix.c b/lib/asan/lit_tests/TestCases/strip_path_prefix.c deleted file mode 100644 index c4d6ba49d5e3..000000000000 --- a/lib/asan/lit_tests/TestCases/strip_path_prefix.c +++ /dev/null @@ -1,12 +0,0 @@ -// RUN: %clang_asan -O2 %s -o %t -// RUN: ASAN_OPTIONS="strip_path_prefix='/'" not %t 2>&1 | FileCheck %s - -#include <stdlib.h> -int main() { - char *x = (char*)malloc(10 * sizeof(char)); - free(x); - return x[5]; - // Check that paths in error report don't start with slash. - // CHECK: heap-use-after-free - // CHECK-NOT: #0 0x{{.*}} ({{[/].*}}) -} |