diff --git a/test/optional_test.cpp b/test/optional_test.cpp index 29a1229..c3f9355 100644 --- a/test/optional_test.cpp +++ b/test/optional_test.cpp @@ -845,6 +845,8 @@ void test_with_builtin_types() struct VBase : virtual X { VBase(int v) : X(v) {} + // MSVC 8.0 doesn't generate this correctly... + VBase(const VBase& other) : X(static_cast(other)) {} }; void test_with_class_type()