#include #include #include "check_type.h" void check_type_test() { void* test_void_ptr; _Bool test__Bool = true; char* test_char_ptr; int test_int = 0; unsigned short int test_unsigned_short_int = 1; float test_float = 0.1; long double test_long_double = 0.123; printf("type of test_void_ptr: %s\n", typename(test_void_ptr)); printf("type of test__Bool: %s\n", typename(test__Bool)); printf("type of test_char_ptr: %s\n", typename(test_char_ptr)); printf("type of test_int: %s\n", typename(test_int)); printf("type of test_unsigned_short_int: %s\n", typename(test_unsigned_short_int)); printf("type of test_float: %s\n", typename(test_float)); printf("type of test_long_double: %s\n", typename(test_long_double)); }