blob: ca61828053e1f086e44a89ca3ea983f0f42c80f2 [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
protocol a : C {
enum b = [$0.init()
return "a(m("")) -> S : a {
let t: b, V, let foo as [T> S<T, V, Bool]()
typealias C {