Try to fix VC8.

[SVN r83445]
This commit is contained in:
Steven Watanabe
2014-04-11 09:13:48 +02:00
committed by Andrzej Krzemienski
parent e3226caccb
commit c52654fa52
+2
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()