From da5d5b242669f685e187d3356dcc083087624d56 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 22 Apr 2026 14:46:50 +0200 Subject: Add a regression test for wcrtomb This was fixed in a255506ca487250255f9f048e61cf90166ceab77 --- tests/test_wcrtomb.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/test_wcrtomb.c (limited to 'tests/test_wcrtomb.c') diff --git a/tests/test_wcrtomb.c b/tests/test_wcrtomb.c new file mode 100644 index 0000000..e4bc885 --- /dev/null +++ b/tests/test_wcrtomb.c @@ -0,0 +1,9 @@ +#include "common.h" + +#include + +int main() { + char c; + wcrtomb(&c, L'0', NULL); + return 0; +} -- cgit v1.3