mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
14 lines
395 B
Swift
14 lines
395 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 c<T where T : e: c(1, let start = e: d where Optional<1 {
|
|
return ".c<T -> {
|
|
var b(c {
|
|
func e(b[self[c) { c(_ c<T> Any, d>) -> <Q<T>(false)) -> [(i> () in a {
|
|
var b : ("
|
|
}
|
|
r
|