blob: ac0832eae0b07d7263db99e112cd87d2499b24ed [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
class A {
init() {
let n1: A, A {
}
class A {
func a(a)
protocol a : d {
protocol c {
extension NSData {
}
let x }
typealias d {
var a