Files
swift-mirror/test/Constraints/invalid_stdlib.swift
Jordan Rose 65172b8351 TypeChecker: don't create tuple elements with null types.
So far I can only get this to occur if swift.Slice is missing, but that
still shouldn't crash.

Swift SVN r7261
2013-08-15 17:31:57 +00:00

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}}
}