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 @@ -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 {{.*}}::operator(){{.*}}.cc:[[@LINE-2]] }; } return f(); // BOOM