mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
19 lines
384 B
Swift
19 lines
384 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
|
|
|
|
__COLUMN__
|
|
func e<l {
|
|
enum e {
|
|
func e
|
|
j {
|
|
}
|
|
func p(l: Any, g: Any) -> (((Any, Any) -> Any) -> Any) {
|
|
return {
|
|
(p: (Any, Any) -> Any) -> Any in
|
|
func n<n : l,) {
|
|
}
|
|
n(e())
|