Add a disclaimer to the new test, plus a user-declared ctor
to force the emission of vtordisps.
llvm-svn: 155906
diff --git a/clang/test/Sema/ms_class_layout.cpp b/clang/test/Sema/ms_class_layout.cpp
index bc9d756..4a3a647 100644
--- a/clang/test/Sema/ms_class_layout.cpp
+++ b/clang/test/Sema/ms_class_layout.cpp
@@ -488,10 +488,11 @@
// Overriding a method means that all the vbases containing that
// method need a vtordisp.
+// FIXME: this is unverified!!
namespace test1 {
struct A { virtual void foo(); };
struct B : A {};
- struct C : virtual A, virtual B { virtual void foo(); };
+ struct C : virtual A, virtual B { C(); virtual void foo(); };
void test() { C *c; }
// CHECK: 0 | struct test1::C