[asan] Remove the test as the fix is going to be removed
authorVitaly Buka <vitalybuka@google.com>
Fri, 16 Sep 2016 01:37:17 +0000 (01:37 +0000)
committerVitaly Buka <vitalybuka@google.com>
Fri, 16 Sep 2016 01:37:17 +0000 (01:37 +0000)
Summary:
I need to redu solution, existing is not good enough.

PR28267

Reviewers: eugenis

Subscribers: llvm-commits, kubabrecka

Differential Revision: https://reviews.llvm.org/D24490

llvm-svn: 281687

compiler-rt/test/asan/TestCases/use-after-scope-goto.c [deleted file]

diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-goto.c b/compiler-rt/test/asan/TestCases/use-after-scope-goto.c
deleted file mode 100644 (file)
index e69cc71..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// RUN: %clang_asan -O0 -fsanitize-address-use-after-scope %s -o %t && %run %t
-
-// Function jumps over variable initialization making lifetime analysis
-// ambiguous. Asan should ignore such variable and program must not fail.
-
-int *ptr;
-
-void f(int cond) {
-  if (cond)
-    goto label;
-  int tmp = 1;
-
-label:
-  ptr = &tmp;
-  *ptr = 5;
-}
-
-int main() {
-  f(1);
-  return 0;
-}