mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
28 lines
433 B
Swift
28 lines
433 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
|
|
|
|
class c<T where B : A {
|
|
}
|
|
if c {
|
|
if true {
|
|
}
|
|
let n1: Array<S : A> Void>>(e> {
|
|
typealias f = [Int>) {
|
|
typealias f = B>) {
|
|
}
|
|
})
|
|
protocol a {
|
|
var b, (s: B, T : H.init(array: d = f(g
|
|
({
|
|
}
|
|
struct c {
|
|
}
|
|
}
|
|
enum S) {
|
|
}
|
|
}
|
|
func
|