Changes the default Windows target triple returned by GetHostTriple.cmake from the old environment names (which we wanted to move away from) to newer, normalized ones. This also requires updating all tests to use the new systems names in constraints. Differential Revision: https://reviews.llvm.org/D47381 llvm-svn: 339307
22 lines
323 B
C++
22 lines
323 B
C++
// GlobalSplit used to lose type metadata for classes with virtual bases but no virtual methods.
|
|
// RUN: %clangxx_cfi -o %t1 %s && %run %t1
|
|
|
|
// UNSUPPORTED: windows-msvc
|
|
|
|
struct Z {
|
|
};
|
|
|
|
struct ZZ : public virtual Z {
|
|
};
|
|
|
|
struct A : public ZZ {
|
|
};
|
|
|
|
struct B : public A {
|
|
};
|
|
|
|
int main() {
|
|
A* a = new B();
|
|
B *b = (B*)a;
|
|
}
|