Skip to content

Commit

Permalink
[libcxx] Amend XFAIL for failing tests on Windows
Browse files Browse the repository at this point in the history
Some tests starting passing/failing after #69431 because Clang no longer
enables -fdelayed-template-parsing by default on Windows with C++20.
  • Loading branch information
petrhosek committed Oct 30, 2023
1 parent c3f7ca7 commit 6d3ffcc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
//
//===----------------------------------------------------------------------===//

// This test fails because diagnose_if doesn't emit all of the diagnostics
// when -fdelayed-template-parsing is enabled, like it is in MSVC mode.
// XFAIL: msvc
// This test fails with Clang <18 because diagnose_if doesn't emit all of the
// diagnostics when -fdelayed-template-parsing is enabled, like it is in MSVC
// mode.
// XFAIL: msvc && (clang-16 || clang-17)

// REQUIRES: diagnose-if-support

Expand Down
4 changes: 4 additions & 0 deletions libcxx/test/libcxx/fuzzing/random.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
//
//===----------------------------------------------------------------------===//

// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
// XFAIL: msvc && clang-18

// UNSUPPORTED: c++03, c++11

#include <cassert>
Expand Down
4 changes: 4 additions & 0 deletions libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
//
//===----------------------------------------------------------------------===//

// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
// XFAIL: msvc && clang-18

// <math.h>

#include <math.h>
Expand Down
4 changes: 4 additions & 0 deletions libcxx/test/std/numerics/c.math/cmath.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
//
//===----------------------------------------------------------------------===//

// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
// XFAIL: msvc && clang-18

// <cmath>

#include <cmath>
Expand Down

0 comments on commit 6d3ffcc

Please sign in to comment.