initial commit
[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"