]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdio-common/tst-sprintf2.c
vfprintf: Fix memory with large width and precision [BZ #19931]
[thirdparty/glibc.git] / stdio-common / tst-sprintf2.c
index 422278dd6ad87078d41e4da42e4cd45bd1070bdf..0ddf15ba3378a54b5ac37235f42693e6c618d6a7 100644 (file)
@@ -3,8 +3,8 @@
 #include <stdio.h>
 #include <string.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
 #if LDBL_MANT_DIG >= 106
   volatile union { long double l; long long x[2]; } u, v;
@@ -82,3 +82,6 @@ main (void)
 #endif
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"