mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
68% are already fixed, including all those marked as beta 4 regressions. Swift SVN r30914
21 lines
327 B
Swift
21 lines
327 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{enum S<T{
|
|
func a
|
|
let en=a[{
|
|
}
|
|
class a{
|
|
let e ={
|
|
{
|
|
}
|
|
class A{
|
|
let s= {extension{
|
|
}}
|
|
func a
|
|
}
|
|
}}}
|
|
let:A
|