X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-mbsinit.c;h=2cc2924ed5c6c448d88141195e307b4138843226;hb=76bcf6213d2a5a01dd56c0d1235bfdad4dd7ecf2;hp=e72086d57ec2d28b7adf1795c74116f6dd24773b;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-mbsinit.c b/tests/test-mbsinit.c index e72086d57..2cc2924ed 100644 --- a/tests/test-mbsinit.c +++ b/tests/test-mbsinit.c @@ -1,5 +1,5 @@ /* Test of test for initial conversion state. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008-2011 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 @@ -32,6 +32,8 @@ main (int argc, char *argv[]) { static mbstate_t state; + ASSERT (mbsinit (NULL)); + ASSERT (mbsinit (&state)); if (argc > 1)