[libcxx-commits] [PATCH] D144326: [libc++][format] Addresses LWG3720.

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 14 08:53:08 PDT 2023


ldionne added inline comments.


================
Comment at: libcxx/test/std/utilities/format/format.string/format.string.std/lwg3720_arg_id_width_precision_allowed_types.verify.cpp:31
+void test_char_width() {
+  // expected-error-re@*:* {{call to consteval function {{.*}} is not a constant expression}}
+  TEST_IGNORE_NODISCARD std::format("{:{}}", 42, true);
----------------
Do we get some sort of note that explains the reason for the format failing to parse?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144326/new/

https://reviews.llvm.org/D144326



More information about the libcxx-commits mailing list