diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-04-05 04:03:23 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-04-05 04:03:23 +0000 |
commit | bb3d20f80c98e7919411bc7e062d69b17462899b (patch) | |
tree | 856ae293408f43d37f539058862e6f37c5f17b97 /test/Analysis | |
parent | 6b77ce8824cf62c2cfb61cf2d801eb3fcfbecffe (diff) |
Do not crash in the callgraph construction when encountering deleted function definitions. Fixes <rdar://problem/11178609>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r-- | test/Analysis/misc-ps-cxx0x.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Analysis/misc-ps-cxx0x.cpp b/test/Analysis/misc-ps-cxx0x.cpp index 53b6fa29ad..b4dee3122e 100644 --- a/test/Analysis/misc-ps-cxx0x.cpp +++ b/test/Analysis/misc-ps-cxx0x.cpp @@ -68,3 +68,8 @@ void test2() { *p = 0xDEADBEEF; // no-warning } +// Do not crash on the following when constructing the +// callgraph. +struct RDar11178609 { + ~RDar11178609() = delete; +}; |