diff --git a/compiler-rt/test/asan/TestCases/report_error_summary.cpp b/compiler-rt/test/asan/TestCases/report_error_summary.cpp --- a/compiler-rt/test/asan/TestCases/report_error_summary.cpp +++ b/compiler-rt/test/asan/TestCases/report_error_summary.cpp @@ -1,9 +1,12 @@ // RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s +// FIXME: Weak symbols aren't supported on Windows. +// XFAIL: target={{.*windows-msvc.*}} + #include extern "C" void __sanitizer_report_error_summary(const char *summary) { - fprintf(stderr, "test_report_error_summary\n", summary); + fprintf(stderr, "test_report_error_summary\n"); // CHECK: test_report_error_summary fflush(stderr); }