blob: 16abce3369c09d09839f3df8247822bbf029d8bc [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
}
( ")enum S<a
struct B
Void{
var a: A : A
protocol c : A
}
class var e : a {
protocol a : a {
struct B<String
in
}struct B<T where k : A
func a
func a=e
protocol P {
func f<h = object {
protocol c B
a Foundation
}
protocol a {
class A? = compose("
}
{
class A : a
class d
class B<String, C>("
class d>()
typealias e : a: a :d
protocol P {
struct A
class A {
struct B
func a {
class A<T.e
func a {
}
struct b<d
}
}
class B
protocol a {
var "
case c,
let end = compose("
}
in
}
case c
typealias e : A
extension g:Boolean{
class A {}
extension NSFileManager {
return E.c{ enum b {
}
typealias e = compose()enum C {
{struct A
var d {
{
func a :Boolean{
let b{struct B<T:C>()
let h : A {
case c
}
protocol P {
}
struct c {
}
{
protocol A {
}
}
return E.e
func a {
}
atic var d {
class B<T where T? {{
protocol a {
class B< {
}
class A {
enum S<b{
class A {
}
}}
}
Void{{
if
struct c,
func c{ enum S<h : a
typealias e : A {
class d}
struct b: a {enum b = F>() {
}
}
( "
func a {
class A : A
func a:Boolean{
var f = compose(n: Dictionary<String, C>())
struct b: A
protocol A {
class A {
static let f = e
}
let end = [