build-many-glibcs.py: Add openrisc hard float glibc variant
[glibc.git] / stdio-common / bug23.c
blobdcc5428078a4d6a68eed08956fedc5ce6db70aa9
1 #include <stdio.h>
2 #include <string.h>
4 static char buf[32768];
5 static const char expected[] = "\
6 \n\
7 a\n\
8 abbcd55%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
10 static int
11 do_test (void)
13 snprintf (buf, sizeof (buf),
14 "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
15 "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n",
16 "a", "b", "c", "d", 5);
17 return strcmp (buf, expected) != 0;
20 #define TEST_FUNCTION do_test ()
21 #include "../test-skeleton.c"