aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/arm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/arm.cpp')
-rw-r--r--test/CodeGenCXX/arm.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/CodeGenCXX/arm.cpp b/test/CodeGenCXX/arm.cpp
index bb8306472c..05ed603acf 100644
--- a/test/CodeGenCXX/arm.cpp
+++ b/test/CodeGenCXX/arm.cpp
@@ -237,23 +237,6 @@ namespace test4 {
}
}
-// <rdar://problem/8386802>: don't crash
-namespace test5 {
- struct A {
- ~A();
- };
-
- // CHECK: define void @_ZN5test54testEPNS_1AE
- void test(A *a) {
- // CHECK: [[PTR:%.*]] = alloca [[A:%.*]]*, align 4
- // CHECK-NEXT: store [[A]]* {{.*}}, [[A]]** [[PTR]], align 4
- // CHECK-NEXT: [[TMP:%.*]] = load [[A]]** [[PTR]], align 4
- // CHECK-NEXT: call [[A]]* @_ZN5test51AD1Ev([[A]]* [[TMP]])
- // CHECK-NEXT: ret void
- a->~A();
- }
-}
-
// CHECK: define linkonce_odr [[C:%.*]]* @_ZTv0_n12_N5test21CD1Ev(
// CHECK: call [[C]]* @_ZN5test21CD1Ev(
// CHECK: ret [[C]]* undef