Skip to content

Commit d843ccf

Browse files
AlexGutenievcopybara-github
authored andcommitted
[libc++] Some tests are missing include for numeric_limits (#90345)
Noticed while attempting microsoft/STL#4634 NOKEYCHECK=True GitOrigin-RevId: 40083cf378e8c93165c5f9dd9d06611beca78f54
1 parent 1219a57 commit d843ccf

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.float.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// _Tp midpoint(_Float __a, _Float __b) noexcept
1515
//
1616

17+
#include <limits>
1718
#include <numeric>
1819
#include <cassert>
1920

test/std/strings/string.conversions/stol.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
#include <string>
1515
#include <cassert>
16+
#include <limits>
1617
#include <stdexcept>
1718

1819
#include "test_macros.h"

test/std/utilities/format/format.arguments/format.arg/visit_format_arg.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <algorithm>
1717
#include <format>
1818
#include <cassert>
19+
#include <limits>
1920
#include <type_traits>
2021

2122
#include "constexpr_char_traits.h"

test/std/utilities/format/format.arguments/format.args/get.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include <format>
1616
#include <cassert>
17+
#include <limits>
1718
#include <type_traits>
1819

1920
#include "test_macros.h"

0 commit comments

Comments
 (0)