macOS XCode 16 breaks dynamic_cast for `final` types, defined in shared library
Let's say we have shared library with the following very simple Type.h: struct Base { virtual ~Base() = default; }; struct Derived final : Base { Derived(); }; , Type.cpp: #include "Type.h" Derived::Derived() = default; and main.cpp program: #include "Type.h"…