blob: 18bb32984716a1967a89c6c66a5ab2b88dae6a1a [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
S(h: Sequence, x in c == b() {
typealias B.A<D> [")
func g<B == c<T : Any) {
protocol d {
class c] {
enum S() in x }
let end = [c() {
enum A {
protocol d where H) {
}
}
class B {
}
}
func d<T: d where