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

@@ -71,6 +71,11 @@ grapheme_cluster_break_tests = \
// 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")
}