mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This fixes compiler_crashers tests that use the ObjC interface on iOS hardware SDKs. Swift SVN r23458
25 lines
418 B
Swift
25 lines
418 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
|
|
|
|
func g<T) {
|
|
class A {
|
|
typealias b {
|
|
return { c<Int) -> == 0)
|
|
var d {
|
|
}
|
|
}
|
|
}
|
|
func f.R
|
|
let g = [1, f: C {
|
|
}
|
|
}
|
|
}
|
|
public class c(self.c {
|
|
}
|
|
typealias f : A<T : SequenceType> T> : [Byte])?
|
|
class B {
|
|
var b = {
|