OSDN Git Service

[libc++] Mark my new <algorithm> test unsupported on clang-8.
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Tue, 8 Dec 2020 22:23:47 +0000 (17:23 -0500)
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Tue, 8 Dec 2020 22:25:23 +0000 (17:25 -0500)
Because in C++20 mode, it tests that `copy_n` is constexpr;
so it depends on the compiler supporting `is_constant_evaluated`.

libcxx/test/std/algorithms/robust_against_adl.pass.cpp

index fca6f98..a9ea46a 100644 (file)
@@ -6,6 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+// UNSUPPORTED: clang-8
 // UNSUPPORTED: c++03
 
 // <algorithm>