]> git.ipfire.org Git - thirdparty/glibc.git/blame - stdio-common/scanf8.c
[powerpc] No need to enter "Ignore Exceptions Mode"
[thirdparty/glibc.git] / stdio-common / scanf8.c
CommitLineData
a66067be
RM
1#include <stdio.h>
2#include <string.h>
3#include <stdlib.h>
4
11336c16
UD
5int
6main (int argc, char *argv[])
a66067be
RM
7{
8 int ret;
9 char buf [1024] = "Ooops";
10
11 ret = sscanf ("static char Term_bits[] = {", "static char %s = {", buf);
12 printf ("ret: %d, name: %s\n", ret, buf);
13 if (ret != 1 || strcmp (buf, "Term_bits[]") != 0)
14 abort ();
15 return 0;
16}