summaryrefslogtreecommitdiff
path: root/tests/headers/locale.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /tests/headers/locale.c
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'tests/headers/locale.c')
-rw-r--r--tests/headers/locale.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/tests/headers/locale.c b/tests/headers/locale.c
deleted file mode 100644
index 9a302e4f..00000000
--- a/tests/headers/locale.c
+++ /dev/null
@@ -1,61 +0,0 @@
-// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/locale.h.html
-
-#include "core.h"
-
-#include <locale.h>
-
-TEST(locale_h)
-{
- TYPE(struct lconv);
- STRUCT_MEMBER(struct lconv, char *, currency_symbol);
- STRUCT_MEMBER(struct lconv, char *, decimal_point);
- STRUCT_MEMBER(struct lconv, char, frac_digits);
- STRUCT_MEMBER(struct lconv, char *, grouping);
- STRUCT_MEMBER(struct lconv, char *, int_curr_symbol);
- STRUCT_MEMBER(struct lconv, char, int_frac_digits);
- STRUCT_MEMBER(struct lconv, char, int_n_cs_precedes);
- STRUCT_MEMBER(struct lconv, char, int_n_sep_by_space);
- STRUCT_MEMBER(struct lconv, char, int_n_sign_posn);
- STRUCT_MEMBER(struct lconv, char, int_p_cs_precedes);
- STRUCT_MEMBER(struct lconv, char, int_p_sep_by_space);
- STRUCT_MEMBER(struct lconv, char, int_p_sign_posn);
- STRUCT_MEMBER(struct lconv, char *, mon_decimal_point);
- STRUCT_MEMBER(struct lconv, char *, mon_grouping);
- STRUCT_MEMBER(struct lconv, char *, mon_thousands_sep);
- STRUCT_MEMBER(struct lconv, char *, negative_sign);
- STRUCT_MEMBER(struct lconv, char, n_cs_precedes);
- STRUCT_MEMBER(struct lconv, char, n_sep_by_space);
- STRUCT_MEMBER(struct lconv, char, n_sign_posn);
- STRUCT_MEMBER(struct lconv, char *, positive_sign);
- STRUCT_MEMBER(struct lconv, char, p_cs_precedes);
- STRUCT_MEMBER(struct lconv, char, p_sep_by_space);
- STRUCT_MEMBER(struct lconv, char, p_sign_posn);
- STRUCT_MEMBER(struct lconv, char *, thousands_sep);
-
- MACRO(NULL);
-
- MACRO(LC_ALL);
- MACRO(LC_COLLATE);
- MACRO(LC_CTYPE);
- MACRO(LC_MONETARY);
- MACRO(LC_NUMERIC);
- MACRO(LC_TIME);
-
- MACRO(LC_COLLATE_MASK);
- MACRO(LC_CTYPE_MASK);
- MACRO(LC_MESSAGES_MASK);
- MACRO(LC_MONETARY_MASK);
- MACRO(LC_NUMERIC_MASK);
- MACRO(LC_TIME_MASK);
- MACRO(LC_ALL_MASK);
-
- MACRO_TYPE(locale_t, LC_GLOBAL_LOCALE);
- TYPE(locale_t);
-
- FUNCTION(duplocale, FN(locale_t, locale_t));
- FUNCTION(freelocale, FN(void, locale_t));
- FUNCTION(localeconv, FN(struct lconv *));
- FUNCTION(newlocale, FN(locale_t, int, const char *, locale_t));
- FUNCTION(setlocale, FN(char *, int, const char *));
- FUNCTION(uselocale, FN(locale_t, locale_t));
-}