Index: uspace/lib/cpp/src/internal/test/memory.cpp
===================================================================
--- uspace/lib/cpp/src/internal/test/memory.cpp	(revision 83493341b846213db2a5362d46c44971a2c9c2f1)
+++ uspace/lib/cpp/src/internal/test/memory.cpp	(revision 122c3b816d9526d6078b699e8e92f44b61e4be3a)
@@ -87,4 +87,15 @@
         }
         test_eq("unique_ptr move pt2", mock::destructor_calls, 1U);
+
+        mock::clear();
+        {
+            auto ptr = std::make_unique<mock[]>(10U);
+            test_eq("unique_ptr make_unique array version", mock::constructor_calls, 10U);
+
+            new(&ptr[5]) mock{};
+            test_eq("placement new into the array", mock::constructor_calls, 11U);
+            test_eq("original not destroyed during placement new", mock::destructor_calls, 0U);
+        }
+        test_eq("unique_ptr array out of scope", mock::destructor_calls, 10U);
     }
 }
