blob: afddefaa650a82c2d1e9aa0f31d83610bd44ecc8 [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 Array {
}
let g : String {
struct D : d where S: Array<T : String {
struct B, AnyObject.c, g : a {
protocol A where f.<S {
}
}
}
protocol A {
enum c : A.w : m where g(a(b() -> String = c() {
func b("
func c<T> {
typealias R = { p(T, l: f<A? = ")
typealias h: Array<h> Any in