mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
19 lines
423 B
Swift
19 lines
423 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
|
|
|
|
var d = [T {
|
|
struct c == 1)-> {
|
|
print((object1, range.Iterator.R
|
|
}
|
|
let c> T : d where h: l) ->(array: T : a: P> Any {
|
|
return "[1)
|
|
}(self, V>? {
|
|
}
|
|
init("""\(i<T>(c<T>()
|
|
class func f<T> {
|
|
class b: a {
|
|
class a(
|