Compiler Error C2292

'identifier': best case inheritance representation: 'representation1' declared but 'representation2' required

The following example causes this error when the "Best-case always" representation method is chosen.

class __single_inheritance X;

struct A { };
struct B { };
struct X : A, B { };  // error, X uses multiple inheritance