blob: 5c00f534839cbdabe26a48f6c7148d63140d73cd [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
func b<H : AnyObject, U.c = {
class A {
init<(t: A? = F>()?
return "A? = [T) -> Int = nil
convenience init(g: H) {
class d: A {
class A {
protocol P {
func f