diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:47:56 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:47:56 +0000 | 
| commit | 5e20cdd81c44a443562a09007668ffdf76c455af (patch) | |
| tree | dbbd4047878da71c1a706e26ce05b4e7791b14cc /test/CXX/special/class.dtor/p9.cpp | |
| parent | d5f23b0b7528b5c3caed1ba14f897cc4aaa9e3c3 (diff) | |
Notes
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; +  }  }  | 
