blob: 6a41cd240ec19083b0e0b80b9cfab1dc2d22326a [file] [log] [blame]
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not %target-swift-frontend %s -typecheck
func a<T where T: NSObject {
return "foobar"""ab""".Element == f<T, V, let t: d = Int>) -> {
protocol b {
class func d.Type) -> {
enum S) -> Void>(")).a(A, (A.h: [T, let g = Swift.substringWithRange() {
let c: P {
}
}
protocol b {
typealias d: e?) {
}
func i> (self.startIndex, range: Int = F
var a(b: b = Swift.h : ("
typealias e