Skip to content

Commit

Permalink
[clang][Interp] Limit MaxBitInt to 128 bits
Browse files Browse the repository at this point in the history
Looks like larger bitints aren't supported everywhere.
  • Loading branch information
tbaederr committed Oct 11, 2023
1 parent 43e9eae commit c3f67b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/AST/Interp/intap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// RUN: %clang_cc1 -std=c++20 -fms-extensions -verify=ref %s


using MaxBitInt = _BitInt(8388608);
using MaxBitInt = _BitInt(128);

constexpr _BitInt(2) A = 0;
constexpr _BitInt(2) B = A + 1;
Expand Down

0 comments on commit c3f67b3

Please sign in to comment.