diff options
author | Bruno Haible <bruno@clisp.org> | 2007-04-10 23:42:43 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-04-10 23:42:43 +0000 |
commit | 870a56a1155e62284b1bc94be6f71872f9b0bf47 (patch) | |
tree | fc5a9fd3eb8a1d43e25ec67eebeb88cec7f979fa /tests/test-locale.c | |
parent | 6a595066f7444ae86941cabf229b12938622faa3 (diff) | |
download | gnulib-870a56a1155e62284b1bc94be6f71872f9b0bf47.tar.gz |
Tests for module 'locale'.
Diffstat (limited to 'tests/test-locale.c')
-rw-r--r-- | tests/test-locale.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/test-locale.c b/tests/test-locale.c new file mode 100644 index 0000000000..985dbf743b --- /dev/null +++ b/tests/test-locale.c @@ -0,0 +1,39 @@ +/* Test of <locale.h> substitute. + Copyright (C) 2007 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* Written by Bruno Haible <bruno@clisp.org>, 2007. */ + +#include <config.h> + +#include <locale.h> + +int a[] = + { + LC_ALL, + LC_COLLATE, + LC_CTYPE, + LC_MESSAGES, + LC_MONETARY, + LC_NUMERIC, + LC_TIME + }; + +int +main () +{ + return 0; +} |