mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
29 lines
533 B
Swift
29 lines
533 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 b(f() {
|
|
}
|
|
return S) -> {
|
|
}
|
|
import Foundation
|
|
case b {
|
|
extension NSSet {
|
|
}
|
|
S.Type) -> (object1: d where T> Int = T> Bool {
|
|
}
|
|
struct c(bytes: Int][1])).Type) -> U)
|
|
}
|
|
var b = { c]
|
|
}
|
|
return self.Type) {
|
|
}
|
|
protocol a {
|
|
typealias e where T -> {
|
|
}
|
|
typealias B : B(t: A, A
|
|
func x: A.E == a: (["[Byte], "")
|
|
let t: b(i(x)
|