blob: bad6d48a2407bf52a9c8259d532f37647c2a4e89 [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
extension NSSet {
enum b {
struct S : NSManagedObject {
var b : b(T> {
}
struct D : S<T)
}
struct Q<T.e {
}
let h, Any, a<I : T>) {
typealias B {
protocol B {
}
convenience init(Any) -> {
protocol b {
class a: P> Any, x }
}
}
}
}
}
import CoreData
protocol b = e: d where Optional<T> == a(c(2, Any)
var e> Any) -> [Byte]()
let foo as [c] = i((self.<h : d = b() -> ("[1, object2)(c<T>>(m: 1, U.Iterator.A: T>, a() -> U) -> {
enum A {
class a<T {
protocol a : a {
extension NSSet {
protocol b {
}
}
func a