mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update validation suite to use initializers for literal conformances.
Swift SVN r22079
This commit is contained in:
@@ -2040,6 +2040,11 @@ UTF8Encoder.test("SmokeTest") {
|
||||
// The most simple subclass of NSString that CoreFoundation does not know
|
||||
// about.
|
||||
class NonContiguousNSString : NSString {
|
||||
override init() {
|
||||
_value = []
|
||||
super.init()
|
||||
}
|
||||
|
||||
required init(coder aDecoder: NSCoder) {
|
||||
fatalError("don't call this initializer")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user