[PATCH] D19427: Fix test on Windows
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 22 17:11:36 PDT 2016
vitalybuka updated this revision to Diff 54751.
vitalybuka added a comment.
Update expression.
http://reviews.llvm.org/D19427
Files:
test/asan/TestCases/use-after-scope-capture.cc
Index: test/asan/TestCases/use-after-scope-capture.cc
===================================================================
--- test/asan/TestCases/use-after-scope-capture.cc
+++ test/asan/TestCases/use-after-scope-capture.cc
@@ -1,6 +1,5 @@
// RUN: %clangxx_asan -std=c++11 -O1 -mllvm -asan-use-after-scope=1 %s -o %t && \
// RUN: not %run %t 2>&1 | FileCheck %s
-// XFAIL: win32
#include <functional>
@@ -11,7 +10,7 @@
f = [&x]() {
return x; // BOOM
// CHECK: ERROR: AddressSanitizer: stack-use-after-scope
- // CHECK: #0 0x{{.*}} in {{.*}}::operator()(){{.*}}.cc:[[@LINE-2]]
+ // CHECK: #0 0x{{.*}} in {{.*}}use-after-scope-capture.cc:[[@LINE-2]]
};
}
return f(); // BOOM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19427.54751.patch
Type: text/x-patch
Size: 726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160423/65aa543a/attachment.bin>
More information about the llvm-commits
mailing list