mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
So far I can only get this to occur if swift.Slice is missing, but that still shouldn't crash. Swift SVN r7261
8 lines
287 B
Swift
8 lines
287 B
Swift
// RUN: %swift -parse -parse-stdlib -verify %s
|
|
|
|
// This file is for tests that used to cause the type checker to crash.
|
|
|
|
class DictStringInt {
|
|
static func convertFromDictionaryLiteral(xs:()...) -> DictStringInt {} // expected-error{{broken standard library: cannot find Slice type}}
|
|
}
|