[libcxx-commits] [libcxx] [libc++][numeric] P0543R3: Saturation arithmetic (PR #77967)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jan 13 05:24:44 PST 2024
================
@@ -0,0 +1,53 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
+
+// REQUIRES: has-unix-headers
+// REQUIRES: libcpp-hardening-mode={{extensive|debug}}
+// XFAIL: availability-verbose_abort-missing
----------------
mordante wrote:
I don't see a test for
```
Preconditions: y != 0 is true.
...
A function call expression that violates the precondition in the Preconditions: element is not a core constant expression (7.7 [expr.const]).
```
did I miss it?
https://github.com/llvm/llvm-project/pull/77967
More information about the libcxx-commits
mailing list