summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-07-31 16:41:12 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-07-31 16:48:54 +0200
commit0bf67ba2d48c4e81b80e139959e6c3ec6e0970e9 (patch)
tree03fbc52bc168777efac891e8bd29929eb81cab57
parentMerge pull request #28599 from keszybz/two-compilation-fixes (diff)
downloadsystemd-0bf67ba2d48c4e81b80e139959e6c3ec6e0970e9.tar.xz
systemd-0bf67ba2d48c4e81b80e139959e6c3ec6e0970e9.zip
test: update comment to make it consistent with the condition
Follow-up for 6425dec88b9dedf53d12a970339ab88f948c201a.
-rw-r--r--src/test/test-bitfield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-bitfield.c b/src/test/test-bitfield.c
index 0f29c5d8bf..f26b423940 100644
--- a/src/test/test-bitfield.c
+++ b/src/test/test-bitfield.c
@@ -214,7 +214,7 @@ TEST(bits) {
/* Verify these use cases are constant-folded. */
#if !defined(__clang__) || (__clang_major__ >= 13)
- /* Clang 11 doesn't grok those; skip them. */
+ /* Clang 11 and 12 (and possibly older) do not grok those; skip them. */
assert_cc(__builtin_constant_p(INDEX_TO_MASK(uint8_t, 1)));
assert_cc(__builtin_constant_p(INDEX_TO_MASK(uint16_t, 1)));
assert_cc(__builtin_constant_p(INDEX_TO_MASK(uint32_t, 1)));