diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-05-20 05:57:18 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-05-20 05:57:18 +0000 |
commit | a0448264c7da395ca9416c6570bc43a7f49e436b (patch) | |
tree | 6546a7f042630aa269397635347fc8cedf2ad69c /test/CXX/special | |
parent | 1e55e91a257c4ddd4364656b048a3c345c366804 (diff) |
Fix PR9941 for out-of-line template destructors too.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX/special')
-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() {} |