diff options
author | Roland McGrath <roland@gnu.org> | 1992-04-21 04:57:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1992-04-21 04:57:11 +0000 |
commit | 45342293b4fbf4a7d548bbcffc650408aecd6fa4 (patch) | |
tree | d94fbfe3c4bbcfb95780d58f93c095ed75b4a77b /stdlib | |
parent | deb2c2bf4d77ae2c97c7b961862026ab99569323 (diff) |
Formerly ../stdlib/testmb.c.~2~
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/testmb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/testmb.c b/stdlib/testmb.c index 9d3eb59eaa..033961e39c 100644 --- a/stdlib/testmb.c +++ b/stdlib/testmb.c @@ -3,14 +3,14 @@ #include <stdlib.h> int -main () +DEFUN_VOID(main) { wchar_t foo[5]; int i; int lose; i = mbstowcs (foo, "bar", 4); - lose = (i == 3 && foo[1] == 'a'); + lose = !(i == 3 && foo[1] == 'a'); puts (lose ? "Test FAILED!" : "Test succeeded."); return lose; |