mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
24 lines
474 B
Swift
24 lines
474 B
Swift
// RUN: not %target-swift-frontend %s -parse
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
// 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 Foundation
|
|
extension NSSet {
|
|
protocol a {
|
|
let d.B<T>() {
|
|
override init(#object2: c: NSManagedObject {
|
|
}
|
|
struct Q<T where A.B? = c, e)
|
|
func f<T> {
|
|
}
|
|
}
|
|
func f<T : e: a {
|
|
return "")("A.B<T : A {
|
|
typealias e = b
|
|
}
|
|
init(array: U)
|