blob: acda5d55c4fda1106a0ed03417a9caa868f20554 [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
let C{.C){var _=a{{}class c{enum b{let t{struct Q{struct A{class A{enum b{{}class a{class a{class A{protocol k{class A{var a{func g{func a{class c{class A{{}protocol k{class A{protocol a{{}class A{class A{func f{{struct S{func g{(_=0