diff options
Diffstat (limited to 'test/CXX/special/class.dtor/p9.cpp')
-rw-r--r-- | test/CXX/special/class.dtor/p9.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CXX/special/class.dtor/p9.cpp b/test/CXX/special/class.dtor/p9.cpp index a03fcdb24952..42a4236a4a07 100644 --- a/test/CXX/special/class.dtor/p9.cpp +++ b/test/CXX/special/class.dtor/p9.cpp @@ -89,4 +89,11 @@ namespace test3 { virtual ~B() {} static void operator delete(void*); }; + + void f() { +#ifdef MSABI + // expected-note@+2 {{implicit default constructor for 'test3::B' first required here}} +#endif + B use_vtable; + } } |