blob: b17eae259ef61c9c463c32df70ed6ad1b56eb648 [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 t{{enum S{struct e{enum c{let b=deinit{var _=A{class d{struct S{enum c{let d{var b{(a=f