mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
32 lines
517 B
Swift
32 lines
517 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
|
|
|
|
U).init(array: b.A<d {
|
|
}
|
|
func g<D> {
|
|
let h, end: U {
|
|
}
|
|
func a<T>() {
|
|
class c(x)
|
|
class c: c : A : NSManagedObject {
|
|
}
|
|
struct c<Y> A {
|
|
class A = f.C() {
|
|
func g<d.Type) { self.R
|
|
switch x })
|
|
extension NSSet {
|
|
typealias B, 3] = b: d where S<d {
|
|
}
|
|
}
|
|
let t: d == d>("""
|
|
enum a() {
|
|
}
|
|
}
|
|
let c(b> {
|
|
}
|
|
var d<e)
|
|
}
|