[libc++] Add missing annotations for TEST_HAS_NO_WIDE_CHARACTERS
authorLouis Dionne <ldionne.2@gmail.com>
Mon, 1 Nov 2021 15:32:42 +0000 (11:32 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Mon, 1 Nov 2021 18:10:32 +0000 (14:10 -0400)
commitd5b40a30b59ebe75a9da7b042d2c8e3990f99cff
tree6e40d98fd579aaea7cc0caeb52471568e16cc209
parentd115a48e90866b660072988a71e48d449445d418
[libc++] Add missing annotations for TEST_HAS_NO_WIDE_CHARACTERS

Those tests would pass when run on a C Standard Library that actually
provides wide characters, but fail when run on top of one that doesn't.
It's really difficult to test this 100% perfectly in the CI without
introducing an actual platform that doesn't provide these declarations.

Differential Revision: https://reviews.llvm.org/D112937
libcxx/test/std/depr/depr.c.headers/inttypes_h.pass.cpp
libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp
libcxx/test/std/language.support/support.runtime/cstdlib.pass.cpp