1 /*
2  * Copyright (c) 2021 Google LLC
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/kernel.h>
8 
main(void)9 int main(void)
10 {
11 	printk("d%" PRId8 "\n", INT8_C(8));
12 	printk("d%" PRId16 "\n", INT16_C(16));
13 	printk("d%" PRId32 "\n", INT32_C(32));
14 	printk("d%" PRId64 "\n", INT64_C(64));
15 
16 	printk("i%" PRIi8 "\n", INT8_C(8));
17 	printk("i%" PRIi16 "\n", INT16_C(16));
18 	printk("i%" PRIi32 "\n", INT32_C(32));
19 	printk("i%" PRIi64 "\n", INT64_C(64));
20 
21 	printk("o%" PRIo8 "\n", INT8_C(8));
22 	printk("o%" PRIo16 "\n", INT16_C(16));
23 	printk("o%" PRIo32 "\n", INT32_C(32));
24 	printk("o%" PRIo64 "\n", INT64_C(64));
25 
26 	printk("u%" PRIu8 "\n", UINT8_C(8));
27 	printk("u%" PRIu16 "\n", UINT16_C(16));
28 	printk("u%" PRIu32 "\n", UINT32_C(32));
29 	printk("u%" PRIu64 "\n", UINT64_C(64));
30 
31 	printk("x%" PRIx8 "\n", UINT8_C(8));
32 	printk("x%" PRIx16 "\n", UINT16_C(16));
33 	printk("x%" PRIx32 "\n", UINT32_C(32));
34 	printk("x%" PRIx64 "\n", UINT64_C(64));
35 
36 	printk("X%" PRIX8 "\n", UINT8_C(8));
37 	printk("X%" PRIX16 "\n", UINT16_C(16));
38 	printk("X%" PRIX32 "\n", UINT32_C(32));
39 	printk("X%" PRIX64 "\n", UINT64_C(64));
40 	return 0;
41 }
42