diff options
author | Maciej W. Rozycki <macro@redhat.com> | 2025-03-28 12:35:53 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@redhat.com> | 2025-03-28 12:35:53 +0000 |
commit | 47076b3163ce645f791d5c8f80080e9811733347 (patch) | |
tree | e07d7c4bb81cfbeb6595e3523d97f942c7679aea /stdio-common/tst-scanf-format-vs-float.c | |
parent | 53ee7ede430b92fcefd31fc00bfd3fa9acec5846 (diff) | |
download | glibc-47076b3163ce645f791d5c8f80080e9811733347.zip glibc-47076b3163ce645f791d5c8f80080e9811733347.tar.gz glibc-47076b3163ce645f791d5c8f80080e9811733347.tar.bz2 |
stdio-common: Add tests for formatted vsscanf input specifiers
Wire vsscanf into test infrastructure for formatted scanf input
specifiers.
Reviewed-by: Joseph Myers <josmyers@redhat.com>
Diffstat (limited to 'stdio-common/tst-scanf-format-vs-float.c')
-rw-r--r-- | stdio-common/tst-scanf-format-vs-float.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/stdio-common/tst-scanf-format-vs-float.c b/stdio-common/tst-scanf-format-vs-float.c new file mode 100644 index 0000000..7872afe --- /dev/null +++ b/stdio-common/tst-scanf-format-vs-float.c @@ -0,0 +1,22 @@ +/* Test for formatted 'vsscanf' 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 + <https://www.gnu.org/licenses/>. */ + +#include "tst-scanf-format-skeleton.h" +#include "tst-scanf-format-vs.h" +#include "tst-scanf-format-real.h" +#include "tst-scanf-format-skeleton-float.c" |