diff options
Diffstat (limited to 'test/CXX/special/class.dtor/p3-0x.cpp')
-rw-r--r-- | test/CXX/special/class.dtor/p3-0x.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CXX/special/class.dtor/p3-0x.cpp b/test/CXX/special/class.dtor/p3-0x.cpp index ffac158acb..94b72a15e9 100644 --- a/test/CXX/special/class.dtor/p3-0x.cpp +++ b/test/CXX/special/class.dtor/p3-0x.cpp @@ -169,3 +169,9 @@ void tsw() { // CHECK: _ZTIi // CHECK: __cxa_call_unexpected // CHECK: define linkonce_odr void @_ZN2SwIiED1Ev({{.*}} nounwind + +template <typename T> +struct TVC : VX +{ virtual ~TVC(); }; +template <typename T> +TVC<T>::~TVC() {} |