xref: /llvm-project/clang/test/Modules/Inputs/builtin-headers/inttypes.h (revision 4ee8c676ee370f5cd53cb6ac3a9c27c7088f2eae)
1 #ifndef INTTYPES_H
2 #define INTTYPES_H
3 
4 // This creates an include cycle when inttypes.h and stdint.h
5 // are both part of the cstd module. This include will resolve
6 // to the C++ stdint.h, which will #include_next eventually to
7 // the stdint.h in this directory, and thus create the cycle
8 // cstd (inttypes.h) -> cpp_stdint (stdint.h) -> cstd (stdint.h).
9 // This cycle is worked around by cstd using [no_undeclared_includes].
10 #include <stdint.h>
11 
12 #endif
13