Bug 497723 - forgot to restore callgrind output cleanup
[valgrind.git] / memcheck / tests / wmemcmp.c
blobd7376200947c873ae68b922857b9fe11e32df17b
1 #include <stdlib.h>
2 #include <wchar.h>
4 int main ()
6 wchar_t *s = (wchar_t *) malloc (8 * sizeof (wchar_t));
7 s[0] = '-';
8 s[1] = 'N';
9 s[2] = 'A';
10 s[3] = 'N';
11 s[4] = ' ';
12 s[5] = '3';
13 s[6] = '3';
14 s[7] = '\0';
15 return wmemcmp (s + 1, L"NAN", 3) == 0;