blob: 59c708b2708ed9bb44aa7d7a4e3e1407b49550dd [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
ic class A {
func f, range.E == b> Void>, k : A.d.init() {
typealias F = B<T) in return b, let t: c = c<T>()
func a: ExtensibleCollectionType>({
print() -> == e([]
protocol b {
let start = ")
}
struct c<T where f: A =