blob: cfa71fe86b5540d5f1b5e416bbc51c36e3b126d1 [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
let a {
class m {
ss func b: A {
func l> T where h: n = c>(.init(x: T> {
}(("\() {
var d {
let a {s : a {
}
}
}
}
}
}
protocol A {
typealias d : a : Collection where g<1 {
d("):b : T.<T where T where A: a {
func a(An