blob: 92e48b3f53d993f3f2c4407b2f15a630a1aede12 [file] [log] [blame]
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not %target-swift-frontend %s -parse
func s() -> p {
class w: r, n {
b, g : b where f.d == g> {
}
protocol b {
}
struct c<h : b> : b {
}
m k {
}
struct d<i : b> : b {
rotocol a : a {
}
strucequ}
struct c<d: Sequence, b where Optional<b> == d.Iterator.Element>
func b<e>(e : e) -> c