From 63c81fa0dbf741b33bbac03bf204d896ee8e4694 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 28 Mar 2025 12:35:52 +0000 Subject: stdio-common: Add tests for formatted vscanf input specifiers Wire vscanf into test infrastructure for formatted scanf input specifiers. Reviewed-by: Joseph Myers --- stdio-common/tst-scanf-format-v-float.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 stdio-common/tst-scanf-format-v-float.c (limited to 'stdio-common/tst-scanf-format-v-float.c') diff --git a/stdio-common/tst-scanf-format-v-float.c b/stdio-common/tst-scanf-format-v-float.c new file mode 100644 index 0000000..5d289d3 --- /dev/null +++ b/stdio-common/tst-scanf-format-v-float.c @@ -0,0 +1,22 @@ +/* Test for formatted 'vscanf' input for float conversions. + Copyright (C) 2025 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#include "tst-scanf-format-skeleton.h" +#include "tst-scanf-format-v.h" +#include "tst-scanf-format-real.h" +#include "tst-scanf-format-skeleton-float.c" -- cgit v1.1