Merge pull request #4859 from practicalswift/swiftc-28423-swift-typechecker-validatedecl

This commit is contained in:
swift-ci
2016-09-19 08:02:43 -07:00
committed by GitHub

View File

@@ -0,0 +1,17 @@
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not --crash %target-swift-frontend %s -parse
// REQUIRES: asserts
protocol a
protocol a{
typealias e:A
{{
}
}
protocol A{let:A
var e:e