source: branches/libc-0.6/src/libctests/glibc/localedata/tst-leaks.c

Last change on this file was 2036, checked in by bird, 20 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 233 bytes
Line 
1#include <locale.h>
2#include <mcheck.h>
3
4int
5main (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}
Note: See TracBrowser for help on using the repository browser.