mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
19 lines
382 B
Swift
19 lines
382 B
Swift
// RUN: not --crash %target-swift-frontend %s -parse
|
|
// XFAIL: no_asserts
|
|
|
|
// Distributed under the terms of the MIT license
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
// Test case found by fuzzing
|
|
|
|
t("))
|
|
})
|
|
protocol c : a {
|
|
func b((T>
|
|
let a()
|
|
func ^()
|
|
protocol a {
|
|
class A, T : C {
|
|
}
|
|
enum A where I) -> A : A, self.h
|
|
class a<I : b: a {
|