glibc/tests/Standardscompliance/bz639000-Wrong-Ukrainian-currency-symbol/cursym.c
Sergey Kolosov ab4bc8a24e Extend the test coverage
Move some of the RHEL QE testcases upstream to Fedora.
2022-05-31 09:29:27 +02:00

16 lines
334 B
C

/* taken from bz#639000 */
#include <stdio.h>
#include <locale.h>
int main()
{
struct lconv *lv;
setlocale (LC_ALL, "");
lv = localeconv();
fprintf (stdout, "Currency symbol for locale: %s\n", lv->currency_symbol);
fprintf (stdout, "Intl currency sym for locale: %s\n", lv->int_curr_symbol);
return 0;
}