diff options
| author | Yuval Adam <_@yuv.al> | 2018-07-06 15:20:57 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-07-06 15:20:57 +0300 |
| commit | a984107f78fe827e6a1731bbd38c071acfaeaee7 (patch) | |
| tree | e42451d3e45808bb6db9e8bba7eb904a5303c1fa /tests/constant.c | |
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; +} |
