]> git.ipfire.org Git - thirdparty/glibc.git/blob - localedata/tst-leaks.c
Multiple locales: Use the correct 12-hour time formats (bug 10496).
[thirdparty/glibc.git] / localedata / tst-leaks.c
1 #include <locale.h>
2 #include <mcheck.h>
3
4 static int
5 do_test (void)
6 {
7 int cnt;
8
9 mtrace ();
10
11 for (cnt = 0; cnt < 100; ++cnt)
12 {
13 setlocale (LC_ALL, "de_DE.ISO-8859-1");
14 setlocale (LC_ALL, "de_DE.UTF-8");
15 }
16
17 return 0;
18 }
19
20 #define TEST_FUNCTION do_test ()
21 #include "../test-skeleton.c"