aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/tst-scanf-format-vf-uint.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@redhat.com>2025-03-28 12:35:53 +0000
committerMaciej W. Rozycki <macro@redhat.com>2025-03-28 12:35:53 +0000
commit53ee7ede430b92fcefd31fc00bfd3fa9acec5846 (patch)
treee47c2255d037299987b2e7478b1e744bac1f9bca /stdio-common/tst-scanf-format-vf-uint.c
parent63c81fa0dbf741b33bbac03bf204d896ee8e4694 (diff)
downloadglibc-53ee7ede430b92fcefd31fc00bfd3fa9acec5846.zip
glibc-53ee7ede430b92fcefd31fc00bfd3fa9acec5846.tar.gz
glibc-53ee7ede430b92fcefd31fc00bfd3fa9acec5846.tar.bz2
stdio-common: Add tests for formatted vfscanf input specifiers
Wire vfscanf into test infrastructure for formatted scanf input specifiers. Reviewed-by: Joseph Myers <josmyers@redhat.com>
Diffstat (limited to 'stdio-common/tst-scanf-format-vf-uint.c')
-rw-r--r--stdio-common/tst-scanf-format-vf-uint.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/stdio-common/tst-scanf-format-vf-uint.c b/stdio-common/tst-scanf-format-vf-uint.c
new file mode 100644
index 0000000..4874f86
--- /dev/null
+++ b/stdio-common/tst-scanf-format-vf-uint.c
@@ -0,0 +1,22 @@
+/* Test for formatted 'vfscanf' input for unsigned int 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-vf.h"
+#include "tst-scanf-format-integer.h"
+#include "tst-scanf-format-skeleton-uint.c"