diff options
Diffstat (limited to 'tests/constant.c')
| -rw-r--r-- | tests/constant.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/constant.c b/tests/constant.c new file mode 100644 index 0000000..dcd45c5 --- /dev/null +++ b/tests/constant.c @@ -0,0 +1,27 @@ +// This file was generated by gir (https://github.com/gtk-rs/gir) +// from gir-files (https://github.com/gtk-rs/gir-files) +// DO NOT EDIT + +#include "manual.h" +#include <stdio.h> + +int main() { + printf(_Generic((ABI_CONSTANT_NAME), + char *: "%s", + const char *: "%s", + char: "%c", + signed char: "%hhd", + unsigned char: "%hhu", + short int: "%hd", + unsigned short int: "%hu", + int: "%d", + unsigned int: "%u", + long: "%ld", + unsigned long: "%lu", + long long: "%lld", + unsigned long long: "%llu", + double: "%f", + long double: "%ld"), + ABI_CONSTANT_NAME); + return 0; +} |
