Files
swift-mirror/validation-test/compiler_crashers_fixed/28353-swift-removeoverriddendecls.swift
Doug Gregor 589b469484 [AST] Extend a hack to work around broken circular inheritance checking.
Extending this hack recovers a regression in a previously-fixed
compiler crasher (#26725), and fixes two more compiler crashers. So,
despite it's utter lack of principle, it's progress.
2016-11-30 15:44:14 -08:00

14 lines
461 B
Swift

// 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 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 E{enum
C{{
}
protocol E{
typealias B<>:A}}class A:A{init()