Files
swift-mirror/validation-test/compiler_crashers/1001-swift-parser-parsedeclimport.swift
Dmitri Hrybenko f46f16ae82 stdlib: implement new print() API
rdar://20775683

Swift SVN r28309
2015-05-08 01:37:59 +00:00

45 lines
683 B
Swift

// RUN: not --crash %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
{
return x in c {
() { c<T.a<T : T : b
class c == D> {
let t: T> {
return { c(n: AnyObject) {
}
}
protocol b = F>() {
}(b.init(a
enum B {
typealias R = B, g = i> {
}
}
let v: P {
}
protocol A : NSObject {
}
public var f = d>(n: T> {
}
}
S() -> () -> {
protocol C = {
class func c<S : SequenceType, k : T : A<Y> (true }
}
self.h : C {
import Foundation
}
}
}
}
}
protocol A {
let c: d {
}
func f(f, let foo as BooleanType))-> U -> {
print("[1
typealias A : A {