blob: 4d51472886454541cd82752e64f2023c37f37df6 [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
protocol d
let f{
class n{
struct Q<T where g:U{class A<T{
func a:d
func a
struct c{{
}
func d{
a
typealias e