Skip to content

Commit

Permalink
[clang][Interp] Add missing static_assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Feb 7, 2024
1 parent 61c7a69 commit a97ff2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/AST/Interp/literals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ namespace PointerComparison {
}

namespace SizeOf {
static_assert(alignof(char&) == 1);
static_assert(alignof(char&) == 1, "");

constexpr int soint = sizeof(int);
constexpr int souint = sizeof(unsigned int);
Expand Down

0 comments on commit a97ff2d

Please sign in to comment.