mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
24 lines
404 B
Swift
24 lines
404 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
|
|
|
|
class a {
|
|
class A {
|
|
func i<T> {
|
|
class a {
|
|
func f: A {
|
|
}
|
|
}
|
|
return S<D>(a()
|
|
}
|
|
let n1: 1], self.C() -> Any {
|
|
}
|
|
}
|
|
struct A<h: A {
|
|
protocol b : A? {
|
|
}
|
|
class a: NSOb
|