Files
swift-mirror/validation-test/compiler_crashers/1794-swift-astcontext-setconformsto.swift
2015-01-28 19:27:16 +00:00

23 lines
479 B
Swift

// RUN: not --crash %target-swift-frontend %s -parse
// XFAIL: no_asserts
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
protocol b {
protocol a : d {
enum S.count]..Element>(A>
var _ = .dynamicType.Element == ["
func d: [unowned self.c] == 0
}
}
func a(a: T) {
typealias F>: a {
extension NSSet {
}
}
typealias e = a((true }
class a() in x }
let h : b wh