diff options
| author | jvoisin | 2026-04-22 14:46:50 +0200 |
|---|---|---|
| committer | jvoisin | 2026-04-22 14:51:11 +0200 |
| commit | da5d5b242669f685e187d3356dcc083087624d56 (patch) | |
| tree | bc05df9303ca92c76b6b9ce93274e83dd2ff44b4 /tests/test_wcrtomb.c | |
| parent | 5ac7e1b695281ebdcfe365176d40053764d44684 (diff) | |
Add a regression test for wcrtomb
This was fixed in a255506ca487250255f9f048e61cf90166ceab77
Diffstat (limited to 'tests/test_wcrtomb.c')
| -rw-r--r-- | tests/test_wcrtomb.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ | |||
| 1 | #include "common.h" | ||
| 2 | |||
| 3 | #include <wchar.h> | ||
| 4 | |||
| 5 | int main() { | ||
| 6 | char c; | ||
| 7 | wcrtomb(&c, L'0', NULL); | ||
| 8 | return 0; | ||
| 9 | } | ||
