summaryrefslogtreecommitdiffstats
path: root/test/Analysis/misc-ps-cxx0x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/misc-ps-cxx0x.cpp')
-rw-r--r--test/Analysis/misc-ps-cxx0x.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Analysis/misc-ps-cxx0x.cpp b/test/Analysis/misc-ps-cxx0x.cpp
index 53b6fa2..b4dee31 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;
+};
OpenPOWER on IntegriCloud