projects
/
libc-test
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fd08998
)
add iswspace(0) regression test
author
Szabolcs Nagy
<nsz@port70.net>
Thu, 5 Dec 2013 01:25:31 +0000
(
01:25
+0000)
committer
Szabolcs Nagy
<nsz@port70.net>
Thu, 5 Dec 2013 01:25:31 +0000
(
01:25
+0000)
src/regression/iswspace-null.c
[new file with mode: 0644]
patch
|
blob
diff --git a/src/regression/iswspace-null.c
b/src/regression/iswspace-null.c
new file mode 100644
(file)
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 <wctype.h>
+#include "test.h"
+
+int main(void)
+{
+ if (iswspace(0)!=0)
+ t_error("iswspace(0) returned non-zero\n");
+ return t_status;
+}