]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/test/asan/TestCases/use-after-scope-loop-bug.cc
1 // RUN: %clangxx_asan -O1 -fsanitize-address-use-after-scope %s -o %t && \
2 // RUN: not %run %t 2>&1 | FileCheck %s
4 // FIXME: @llvm.lifetime.* are not emitted for x.
10 // Variable goes in and out of scope.
11 for (int i
= 0; i
< 3; ++i
) {