forked from OSchip/llvm-project
Remove a test that we don't need anymore
llvm-svn: 203228
This commit is contained in:
parent
78a6d2073f
commit
f0e88c72ec
|
@ -1,27 +0,0 @@
|
|||
// RUN: not %clang_cc1 -triple i686-pc-win32 -emit-llvm-only -fno-rtti %s 2>&1 | FileCheck %s
|
||||
|
||||
// CHECK: error: v-table layout for classes with non-virtual base classes that override methods in virtual bases is not supported yet
|
||||
|
||||
struct A {
|
||||
virtual int foo() { return a; }
|
||||
int a;
|
||||
};
|
||||
struct B : virtual A {
|
||||
B() : b(1) {}
|
||||
virtual int bar() { return b; }
|
||||
int b;
|
||||
};
|
||||
struct C : virtual A {
|
||||
C() : c(2) {}
|
||||
virtual int foo() { return c; }
|
||||
int c;
|
||||
};
|
||||
struct D : B, C {
|
||||
D() : d(3) {}
|
||||
virtual int bar() { return d; }
|
||||
int d;
|
||||
};
|
||||
int main() {
|
||||
D d;
|
||||
return d.foo();
|
||||
}
|
Loading…
Reference in New Issue