[libcxx-commits] [libcxx] [libc++][format] Fix a missing include in `<format>` tests. (PR #71252)

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 3 16:19:00 PDT 2023


https://github.com/var-const created https://github.com/llvm/llvm-project/pull/71252

None

>From 13f64ccd1a1d711531437332480adfbea5efaeff Mon Sep 17 00:00:00 2001
From: Konstantin Varlamov <varconsteq at gmail.com>
Date: Fri, 3 Nov 2023 16:10:34 -0700
Subject: [PATCH] [libc++][format] Fix a missing include in `<format>` tests.

---
 libcxx/test/support/format.functions.common.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libcxx/test/support/format.functions.common.h b/libcxx/test/support/format.functions.common.h
index 8345707057342f5..976df5b741fb9b0 100644
--- a/libcxx/test/support/format.functions.common.h
+++ b/libcxx/test/support/format.functions.common.h
@@ -12,8 +12,9 @@
 
 #include <algorithm>
 #include <cctype>
-#include <cstddef>
 #include <charconv>
+#include <cstddef>
+#include <cstdlib>
 #include <format>
 #include <ranges>
 #include <string>



More information about the libcxx-commits mailing list