commit | 1860a31edf826bc4001e153f1a8c10e17d97af87 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Fri Sep 11 00:11:35 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Fri Sep 11 00:11:35 2009 +0000 |
tree | e5ea231422d5e9129379f257e106edb28ad87a9a | |
parent | 0ff8bafde95f6fa51ccea70738c1b99db870bddc [diff] [blame] |
Pass the GlobalDecl to getMangledName, fixes PR4890. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81486 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/PR4890-debug-info-dtor.cpp b/test/CodeGenCXX/PR4890-debug-info-dtor.cpp new file mode 100644 index 0000000..a0d3a8d --- /dev/null +++ b/test/CodeGenCXX/PR4890-debug-info-dtor.cpp
@@ -0,0 +1,6 @@ +// RUN: clang-cc -emit-llvm-only -g %s +struct X { + ~X(); +}; + +X::~X() { }