blob: c7089b5bd3799b36d2e26785e5f8e67a987875f0 [file] [log] [blame]
// 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
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