blob: 57932c0701a5b50bc305b40065271f69a29db74c [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
private class A {
class d>(Any) {
}
struct e = mx : B, o>() {
}
init<D>(b> {
}
self.Type) {
}
var b {
func c: d = B<Q<T> T! {
var d {
}
func i: b {
}
let c {
class A : c {
extension NSData {
}
}
func hg(array: d where g, f(Any, 3] {
class B == Int>(("foo: AnyObject) -> (b<d<o {
protocol d = ["" }
}
case .init(() -> {
}
protocol P {
}
}
protocol b {
typealias d: a {
"""][0x31] {
private class func a!.c {