Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Apr 9, 2024
1 parent 4389270 commit 7664dca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/int128_t.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ check_cxx_source_compiles("
int main() {
int128_t x = int128_t(1) << 100;
int128_t y = 1000;
x /= 123;
uint32_t div32 = 123;
x = x / div32;
x /= y;
x = x + y;
if (std::min(x, y) != y)
return 1;
Expand Down

0 comments on commit 7664dca

Please sign in to comment.