Skip to content

Commit 3ffebe0

Browse files
committed
Workaround for old clang
1 parent e80e7f1 commit 3ffebe0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/github_issue_377.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ template <typename T>
2323
void test_other_vals()
2424
{
2525
constexpr auto min_val {std::numeric_limits<int128_t>::min()};
26-
constexpr auto min_div_2 {BOOST_INT128_INT128_C(-85070591730234615865843651857942052864)};
27-
constexpr auto min_div_4 {BOOST_INT128_INT128_C(-42535295865117307932921825928971026432)};
28-
constexpr auto min_div_16 {BOOST_INT128_INT128_C(-10633823966279326983230456482242756608)};
26+
const auto min_div_2 {BOOST_INT128_INT128_C(-85070591730234615865843651857942052864)};
27+
const auto min_div_4 {BOOST_INT128_INT128_C(-42535295865117307932921825928971026432)};
28+
const auto min_div_16 {BOOST_INT128_INT128_C(-10633823966279326983230456482242756608)};
2929

3030
BOOST_TEST_EQ(min_div_2, min_val / T{2});
3131
BOOST_TEST_EQ(min_div_4, min_val / T{4});

0 commit comments

Comments
 (0)