commit | 15442825bb2c3f2cc48f3ed753d172beb8ed1232 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Wed Aug 04 01:04:25 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Wed Aug 04 01:04:25 2010 +0000 |
tree | 7201cbef09134d9d3e35c33d852baa74a8b70ef5 | |
parent | 046a7466f23107bd752d9a8106aada85061699bc [diff] [blame] |
Only look up an 'operator delete' on the definition of a destructor, not on a declaration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110175 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/destructor.cpp b/test/SemaCXX/destructor.cpp index 4f6c76b..1502f73 100644 --- a/test/SemaCXX/destructor.cpp +++ b/test/SemaCXX/destructor.cpp
@@ -103,5 +103,5 @@ }; class B : A<int> { B(); }; - B::B() {} + B::B() {} // expected-note {{in instantiation of member function 'test6::A<int>::~A' requested here}} }