Non-constant expressions do not fail a static_assert (#2215)

This commit is contained in:
Rangi authored and GitHub committed 2026-10-14 19:24:47 -04:00
1 parent ddd4ba9952
commit 586bd2eec8
8 files changed
+11 -20

No files matched your search

-2
View File
@@ -6,7 +6,5 @@ warning: Assertion failed [-Wassert]
at assert.asm(10)
error: Expected constant expression: `FloatingBase` is not constant at assembly time
at assert.asm(18)
error: Assertion failed
at assert.asm(18)
FATAL: Assertion failed
at assert.asm(21)