Skip to content

Commit 6ac6b6b

Browse files
Fix gcd() precondition violation for signed char.
1 parent bf052af commit 6ac6b6b

File tree

1 file changed

+1
-1
lines changed
  • libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd

1 file changed

+1
-1
lines changed

libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ constexpr struct {
3939
{36, 18, 18},
4040
{25, 30, 5},
4141
{24, 16, 8},
42-
{128, 100, 4}};
42+
{124, 100, 4}};
4343

4444
template <typename Input1, typename Input2, typename Output>
4545
constexpr bool test0(int in1, int in2, int out)

0 commit comments

Comments
 (0)