mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
26 lines
509 B
Swift
26 lines
509 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
|
|
|
|
class A : NSManagedObject {
|
|
class func b<T: b = g() -> {
|
|
assert(array: a : a {
|
|
}
|
|
var f = c<c) {
|
|
return x }
|
|
class B : A {
|
|
class a(f(mx : l) {
|
|
return b: b(array: e : NSObject {
|
|
enum a("], g = [unowned self.d
|
|
}
|
|
let a {
|
|
}
|
|
class B : l.c {
|
|
protocol b {
|
|
var _ = {
|
|
return {
|
|
class A {
|
|
typealias f == b)
|