diff options
Diffstat (limited to 'lib/asan/lit_tests/TestCases/use-after-scope-nobug.cc')
-rw-r--r-- | lib/asan/lit_tests/TestCases/use-after-scope-nobug.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/asan/lit_tests/TestCases/use-after-scope-nobug.cc b/lib/asan/lit_tests/TestCases/use-after-scope-nobug.cc deleted file mode 100644 index c23acf76eaeef..0000000000000 --- a/lib/asan/lit_tests/TestCases/use-after-scope-nobug.cc +++ /dev/null @@ -1,14 +0,0 @@ -// RUN: %clangxx_asan -O0 -fsanitize=use-after-scope %s -o %t && %t - -#include <stdio.h> - -int main() { - int *p = 0; - // Variable goes in and out of scope. - for (int i = 0; i < 3; i++) { - int x = 0; - p = &x; - } - printf("PASSED\n"); - return 0; -} |