================ @@ -0,0 +1,50 @@ +// RUN: %clang_cc1 -std=c23 -fsyntax-only -verify %s + +typedef __INT32_TYPE__ int32_t; +typedef __UINT32_TYPE__ uint32_t; ---------------- AaronBallman wrote:
Might as well test all the supported bit widths for these types, not just 32-bit values. Note that we can include `stdint.h` (but pass `-ffreestanding` on the RUN line) because that's a header Clang vends. Of particular interest would be tests for things like `%w56d` when `__INT56_TYPE__` is defined, for the stranger bit widths. (No idea what target triples support the esoteric bit widths, so some investigation may be necessary.) https://github.com/llvm/llvm-project/pull/199991 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
