blob: 2116bdc5a544cde419790dc7f4dc0a909a3da51c [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
class A {
return self.init(false)?
var c: Int
func compose<U -> {
var e: I) {
}
protocol c {
}
private class A {
protocol a {
init<f = {
}
var f<f = {
}
typealias e : e)