Add fesetexcept: powerpc.
[glibc.git] / locale / tst-locname.c
blob7eb71adfd89714bbff2378ab09689e1f98e377b9
1 #include <langinfo.h>
2 #include <locale.h>
3 #include <stdio.h>
4 #include <string.h>
6 static int
7 do_test (void)
9 const char *s = nl_langinfo (_NL_LOCALE_NAME (LC_CTYPE));
10 if (s == NULL || strcmp (s, "C") != 0)
12 printf ("incorrect locale name returned: %s, expected \"C\"\n", s);
13 return 1;
16 return 0;
19 #define TEST_FUNCTION do_test ()
20 #include "../test-skeleton.c"