blob: 810d0528f8906ffeff6f6269ad08ef5e28b2fbed [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
protocol c {
func a(a([c: A {
func a("]]]]
func a: NSManagedObject {
class a")
protocol a {
protocol a {
}
protocol B {
typealias d: d {
}
func d: U -> {
var b: A? = Swift.c, T : (c]).startIndex)")
}
struct c) -> U) {
}
}
protocol P {
}
func a: String {
pri