diff options
| author | jvoisin | 2024-10-08 03:51:44 +0200 |
|---|---|---|
| committer | jvoisin | 2024-10-08 15:21:13 +0200 |
| commit | f8155f0b945c5cfb3600d7c146a5d86870ed09d2 (patch) | |
| tree | ff2d7d484867895ac3bb1175de09c78d9c9a9188 /tests/test_mbstowcs_static.c | |
| parent | 6573631a5e4339a2fc2f86680e36e35e25bf416c (diff) | |
Run various C versions in the CI
Diffstat (limited to 'tests/test_mbstowcs_static.c')
| -rw-r--r-- | tests/test_mbstowcs_static.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_mbstowcs_static.c b/tests/test_mbstowcs_static.c index a15c4d6..847fcf7 100644 --- a/tests/test_mbstowcs_static.c +++ b/tests/test_mbstowcs_static.c | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | #include <stdlib.h> | 3 | #include <stdlib.h> |
| 4 | 4 | ||
| 5 | int main(int argc, char** argv) { | 5 | int main(int argc, char** argv) { |
| 6 | const char* mbstr = "z\u00df\u6c34\U0001f34c"; // or u8"zß水🍌" | 6 | const char* mbstr = "z\u00df\u6c34\U0001f34c"; /* or u8"zß水🍌" */ |
| 7 | wchar_t wstr[5]; | 7 | wchar_t wstr[5]; |
| 8 | mbstowcs(wstr, mbstr, 4); | 8 | mbstowcs(wstr, mbstr, 4); |
| 9 | 9 | ||
