mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
23 lines
401 B
Swift
23 lines
401 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
|
|
|
|
protocol A {
|
|
func g<f : A {
|
|
func g<D>]("
|
|
if c {
|
|
}
|
|
class A : P {
|
|
}
|
|
private let d.c = .h = {
|
|
}
|
|
self.B<Q<H : A where T) {
|
|
}
|
|
let t: C) -> U, f: AnyObject) {
|
|
}
|
|
let a {
|
|
}
|
|
class A : U, g<T>(g:
|