blob: 2530fcd067c121124cc7c8d4ea16a23590710d72 [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
typealias e:a{
protocol c{{func b{varb
{{classA{{
}
var a{func a{enum S<T }{class A{}let a{
"
class
protocol a
}
class A{let a
enum B<f:f.c
func a{struct S<a{
a }
{struct d<S<T where I:a {class A{func a<a{{ enum B{{func a{