]> git.ipfire.org Git - thirdparty/glibc.git/blob - stdio-common/bug21.c
[powerpc] No need to enter "Ignore Exceptions Mode"
[thirdparty/glibc.git] / stdio-common / bug21.c
1 #include <stdio.h>
2
3 static int
4 do_test (void)
5 {
6 static const char buf[] = " ";
7 char *str;
8
9 int r = sscanf (buf, "%ms", &str);
10 printf ("%d %p\n", r, str);
11
12 return r != -1 || str != NULL;
13 }
14
15 #define TEST_FUNCTION do_test ()
16 #include "../test-skeleton.c"