1 #include <stdint.h> 2 #define T(t) (t*)0; 3 #define C(n) switch(n){case n:;} f()4static void f() 5 { 6 T(int8_t) 7 T(int16_t) 8 T(int32_t) 9 T(int64_t) 10 T(uint8_t) 11 T(uint16_t) 12 T(uint32_t) 13 T(uint64_t) 14 T(int_least8_t) 15 T(int_least16_t) 16 T(int_least32_t) 17 T(int_least64_t) 18 T(uint_least8_t) 19 T(uint_least16_t) 20 T(uint_least32_t) 21 T(uint_least64_t) 22 T(int_fast8_t) 23 T(int_fast16_t) 24 T(int_fast32_t) 25 T(int_fast64_t) 26 T(uint_fast8_t) 27 T(uint_fast16_t) 28 T(uint_fast32_t) 29 T(uint_fast64_t) 30 #ifdef _XOPEN_SOURCE 31 T(intptr_t) 32 T(uintptr_t) 33 #endif 34 T(intmax_t) 35 T(uintmax_t) 36 C(INT8_MIN) 37 C(INT16_MIN) 38 C(INT32_MIN) 39 C(INT64_MIN) 40 C(INT8_MAX) 41 C(INT16_MAX) 42 C(INT32_MAX) 43 C(INT64_MAX) 44 C(UINT8_MAX) 45 C(UINT16_MAX) 46 C(UINT32_MAX) 47 C(UINT64_MAX) 48 C(INT_LEAST8_MIN) 49 C(INT_LEAST16_MIN) 50 C(INT_LEAST32_MIN) 51 C(INT_LEAST64_MIN) 52 C(INT_LEAST8_MAX) 53 C(INT_LEAST16_MAX) 54 C(INT_LEAST32_MAX) 55 C(INT_LEAST64_MAX) 56 C(UINT_LEAST8_MAX) 57 C(UINT_LEAST16_MAX) 58 C(UINT_LEAST32_MAX) 59 C(UINT_LEAST64_MAX) 60 C(INT_FAST8_MIN) 61 C(INT_FAST16_MIN) 62 C(INT_FAST32_MIN) 63 C(INT_FAST64_MIN) 64 C(INT_FAST8_MAX) 65 C(INT_FAST16_MAX) 66 C(INT_FAST32_MAX) 67 C(INT_FAST64_MAX) 68 C(UINT_FAST8_MAX) 69 C(UINT_FAST16_MAX) 70 C(UINT_FAST32_MAX) 71 C(UINT_FAST64_MAX) 72 C(INTPTR_MIN) 73 C(INTPTR_MAX) 74 C(UINTPTR_MAX) 75 C(INTMAX_MIN) 76 C(INTMAX_MAX) 77 C(UINTMAX_MAX) 78 C(PTRDIFF_MIN) 79 C(PTRDIFF_MAX) 80 C(SIG_ATOMIC_MIN) 81 C(SIG_ATOMIC_MAX) 82 C(SIZE_MAX) 83 C(WCHAR_MIN) 84 C(WCHAR_MAX) 85 C(WINT_MIN) 86 C(WINT_MAX) 87 C(INT8_C(0)) 88 C(INT16_C(0)) 89 C(INT32_C(0)) 90 C(INT64_C(0)) 91 C(UINT8_C(0)) 92 C(UINT16_C(0)) 93 C(UINT32_C(0)) 94 C(UINT64_C(0)) 95 C(INTMAX_C(0)) 96 C(UINTMAX_C(0)) 97 } 98