summaryrefslogtreecommitdiff
path: root/test/CodeGenObjCXX
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2015-12-21 19:43:25 +0000
committerVedant Kumar <vsk@apple.com>2015-12-21 19:43:25 +0000
commit3255684968c4a9e935b61678175b0d722df2d094 (patch)
tree97cff82f56963511da83ae9580f868a4ff312564 /test/CodeGenObjCXX
parentf6a69116df1a959ce374f97fcacbbcbf71dea363 (diff)
Revert "[CodeGen] Fix assignments of inline layouts into the byref structure"
This reverts commit r256185. It breaks CodeGenObjC/fragile-arc.m. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjCXX')
-rw-r--r--test/CodeGenObjCXX/blocks.mm15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/CodeGenObjCXX/blocks.mm b/test/CodeGenObjCXX/blocks.mm
index 63a1b33f35..fd93437ff6 100644
--- a/test/CodeGenObjCXX/blocks.mm
+++ b/test/CodeGenObjCXX/blocks.mm
@@ -68,18 +68,3 @@ class CaptureThisAndAnotherPointer {
takeBlock(^{ useValues(ptr, this); });
}
};
-
-// rdar://problem/23713871
-// Check that we don't crash when using BLOCK_LAYOUT_STRONG.
-#pragma clang assume_nonnull begin
-@interface NSUUID @end
-#pragma clang assume_nonnull end
-
-struct Wrapper1 { NSUUID *Ref; };
-struct Wrapper2 { Wrapper1 W1; };
-
-@implementation B
-- (void) captureStrongRef {
- __block Wrapper2 W2;
-}
-@end