diff --git a/cfg/windows.cfg b/cfg/windows.cfg
index 105ee469b..53dc335e4 100644
--- a/cfg/windows.cfg
+++ b/cfg/windows.cfg
@@ -2176,7 +2176,7 @@
false
-
+
@@ -3432,7 +3432,7 @@ HFONT CreateFont(
-
+
@@ -3487,7 +3487,7 @@ HFONT CreateFont(
-
+
@@ -3501,7 +3501,7 @@ HFONT CreateFont(
false
-
+
@@ -4726,7 +4726,7 @@ HFONT CreateFont(
-
+
@@ -4806,7 +4806,7 @@ HFONT CreateFont(
true
-
+
@@ -4821,7 +4821,7 @@ HFONT CreateFont(
false
-
+
@@ -5646,7 +5646,7 @@ HFONT CreateFont(
-
+
@@ -6791,7 +6791,7 @@ HFONT CreateFont(
-
+
diff --git a/test/testother.cpp b/test/testother.cpp
index 1d351ec34..3e072aed4 100644
--- a/test/testother.cpp
+++ b/test/testother.cpp
@@ -11291,6 +11291,12 @@ private:
"}");
ASSERT_EQUALS("", errout.str());
+ check("_Bool a[10];\n" // #10350
+ "void foo() {\n"
+ " memcpy(&a[5], &a[4], 2u * sizeof(a[0]));\n"
+ "}");
+ ASSERT_EQUALS("[test.cpp:3]: (error) Overlapping read/write in memcpy() is undefined behavior\n", errout.str());
+
// wmemcpy
check("void foo() {\n"
" wchar_t a[10];\n"