http://llvm.org/bugs/show_bug.cgi?id=20464
Bug ID: 20464
Summary: MS ABI: Class with a base and a pointer-to-member of
it's own type as a field cannot be compiled
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
consider:
struct A {};
struct B : A {
int B::*field;
virtual void method(void);
};
we give the following error:
inheritance model does not match definition
however, MSVC accepts
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs