Try to fix VC8.

[SVN r83445]
This commit is contained in:
Steven Watanabe
2013-03-15 18:24:41 +00:00
parent cb09282472
commit 16657e5e1d

View File

@ -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<const X&>(other)) {}
};
void test_with_class_type()