| // 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 |
| (([(#object1: e: d where S<d<U : b<Q<D> String { |
| typealias b { |
| } |
| f : NSObject { |
| } |
| } |
| let f = j> Any) { |
| } |
| struct S { |
| let a { |
| var d { |
| convenience init() { |
| func b: a { |
| } |
| } |
| } |
| protocol A { |
| } |
| init(a(b() -> { |
| } |
| } |
| convenience init() -> String { |
| } |
| struct S<T where f: Int = { |
| var _ = true as St |