mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
25 lines
450 B
Swift
25 lines
450 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
|
|
|
|
struct S<T where A: AnyObject, b {
|
|
}
|
|
var f: Array<T, e: NSObject {
|
|
struct c == nil
|
|
self.B == {
|
|
S(false)?
|
|
}
|
|
typealias e : String {
|
|
self.b = b: a {
|
|
}
|
|
private let c {
|
|
}
|
|
class C) {
|
|
protocol P {
|
|
}
|
|
protocol d where I) -> : a {
|
|
}
|
|
init(t: C {
|