From: Szabolcs Nagy Date: Thu, 5 Dec 2013 01:25:31 +0000 (+0000) Subject: add iswspace(0) regression test X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=9dd2aab201c1e36853c7501d40ae22dbe37c87c3;p=libc-test add iswspace(0) regression test --- diff --git a/src/regression/iswspace-null.c b/src/regression/iswspace-null.c new file mode 100644 index 0000000..4afb89b --- /dev/null +++ b/src/regression/iswspace-null.c @@ -0,0 +1,11 @@ +// commit: d8e8f1464cb02d6a62f01c7153ca4d7b0cd5c5e6 2013-11-11 +// iswspace(0) should be 0 +#include +#include "test.h" + +int main(void) +{ + if (iswspace(0)!=0) + t_error("iswspace(0) returned non-zero\n"); + return t_status; +}