[testsuite] xfailed two tests that depend on NSString conforming to NSCopying.

NSString is loaded from the DWARF, which doesn't have the concept of protocols.
When this is used with the NSMutableDictionary type from Objective-C modules,
this produces errors of the form

error: cannot initialize a parameter of type 'id<NSCopying> _Nonnull' with an rvalue of type 'NSString *'

We're aware of these problems and have an internal bug report filed
(<rdar://problem/32777981>)

llvm-svn: 305424
This commit is contained in:
Sean Callanan 2017-06-14 23:01:43 +00:00
parent 127e0cd21b
commit 4d04b9cd97
1 changed files with 4 additions and 0 deletions

View File

@ -121,6 +121,8 @@ class ObjCNewSyntaxTestCase(TestBase):
'7.0.0'])
@skipIf(macos_version=["<", "10.12"])
@expectedFailureAll(archs=["i[3-6]86"])
@expectedFailureAll(
bugnumber="rdar://32777981")
def test_update_dictionary(self):
self.runToBreakpoint()
@ -163,6 +165,8 @@ class ObjCNewSyntaxTestCase(TestBase):
'7.0.0'])
@skipIf(macos_version=["<", "10.12"])
@expectedFailureAll(archs=["i[3-6]86"])
@expectedFailureAll(
bugnumber="rdar://32777981")
def test_dictionary_literal(self):
self.runToBreakpoint()