blob: d4ea6e9c984db36727c3ce34cde6dd2f4a6345e3 [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{struct X{enum e{let:{struct X<T:T.E}struct S{enum e{struct S{class B{struct S{{{{}}}enum B