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