Issue 87561
Summary [libc][assert] Define __STDC_VERSION_ASSERT_H__
Labels good first issue, libc
Assignees
Reporter nickdesaulniers
    `7.2.5 Diagnostics <assert.h>` says:

> The macro __STDC_VERSION_ASSERT_H__ is an integer constant _expression_ with a value equivalent to 202311L.

We should add that to libc/include/assert.h.def, then add a test like `VersionMacro` from libc/test/include/stdbit_test.cpp into a newly created file, perhaps called libc/test/include/assert_test.cpp.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to