X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mbsinit.c;h=56548db5fe89697bc55424b4ffd3f95c8c910969;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=e72086d57ec2d28b7adf1795c74116f6dd24773b;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-mbsinit.c b/tests/test-mbsinit.c index e72086d57..56548db5f 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-2014 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)