From 9dd2aab201c1e36853c7501d40ae22dbe37c87c3 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 5 Dec 2013 01:25:31 +0000 Subject: [PATCH] add iswspace(0) regression test --- src/regression/iswspace-null.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/regression/iswspace-null.c 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; +} -- 2.20.1