Additional test for use-after-scope
authorKostya Serebryany <kcc@google.com>
Mon, 18 Apr 2016 21:36:34 +0000 (21:36 +0000)
committerKostya Serebryany <kcc@google.com>
Mon, 18 Apr 2016 21:36:34 +0000 (21:36 +0000)
commitd8ce87f850ad4b04770b3af7b18ae2dbefd5f012
tree74a13369ed853fb3a514e3d1fd850eeaf56862aa
parente6643daa1850722e7ac7660e8c6c4932dc6eaa33
Additional test for use-after-scope

Summary: Test that asan detects access to the dead variable captured by lambda.

Reviewers: aizatsky, kcc

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D19238

llvm-svn: 266676
compiler-rt/test/asan/TestCases/use-after-scope-capture.cc [new file with mode: 0644]