Update validation suite to use initializers for literal conformances.

Swift SVN r22079
This commit is contained in:
Doug Gregor
2014-09-18 16:48:47 +00:00
parent f1e47a7b18
commit 7f2757b5d0
2 changed files with 10 additions and 0 deletions

View File

@@ -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")
}