summaryrefslogtreecommitdiff
path: root/tests/test_wcrtomb.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_wcrtomb.c')
-rw-r--r--tests/test_wcrtomb.c9
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
5int main() {
6 char c;
7 wcrtomb(&c, L'0', NULL);
8 return 0;
9}