mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
29 lines
504 B
Swift
29 lines
504 B
Swift
// RUN: not %target-swift-frontend %s -parse
|
|
|
|
// Distributed under the terms of the MIT license
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
// Test case found by fuzzing
|
|
|
|
import CoreData
|
|
extension NSSet {
|
|
}
|
|
protocol P {
|
|
class A<d {
|
|
}
|
|
}
|
|
enum A : Array<T>(T, (b: ()(b> String {
|
|
f<T, AnyObject, "
|
|
protocol c : a {
|
|
func x)).d.c = B(n: a {
|
|
")
|
|
protocol a {
|
|
i: Int {
|
|
}
|
|
class a {
|
|
}
|
|
protocol B : A, x {
|
|
func f<T> {
|
|
protocol A : d = "foobar","A, U, B()
|
|
}
|
|
typealias e: B
|