blob: 7e34b24046f43b2089da3068a4419a495cfc377b [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 d<T where g: <T where : String {let a{
let : T.e
struct B<T where h: C {
var e(d func f:String{
func a{
private let f: NSObject {
let g c{() {
extension NSData{
class A {()enum S<B<A}c{ "
typealias A<T.e(String
protocol c
struct d:T>:A
struct d=c{ "\(){
{
{}
private let : NSObject {let a {
}
struct d<T where g: A<T where g: d a(d func a<T where : C {
struct B<T where g:A:A< B {
{
import Foundation
struct S<T {
func a
}struct B<T where g:A
func a{
struct c{let v: A {
struct c
struct S<T where g: {{
let f=e(d func a
var d<T where g:A:a< : NSObject {
let : C {"\(d func d=c
struct d: NSObject {
}
class d<T>){struct B<T where f: NSObject
struct c{ "
}
() > {
struct c : C {
enum e
{let f: A {
struct c
class A {{
class d=c{(String
extension NSData{"\() > {
}
struct c
func f: C {
class a
let c n
extension NSData{init{
}
}
case,
let a{class{let a {
func f{
extension NSData{}
("
let f:String
protocol a< : {
struct B<T where h: A
v: a{
var e, : C {protocol c
class A {
let : NSObject
let a
}
func b
deinit{
struct c
protocol c{ "
var d=c
extension NSData{
func f=e(String
}
class a
protocol a<T where g: C {
let a{
func d=e, : <T where : <T where
struct B<A<T where g: NSObject
deinit{
func b
func b
protocol a
func f: A {
extension D{(String
func d=c
let a {
typealias A<T where g: T>){let f{
v: NSObject
private let : <T where f: d func a
class d:String
func a{
}
let a {
func b
}c<T where I:T>:String{struct B{(String{(String{
let v: d a
class B< : T>){protocol A< B {
extension NSData{
let : <T where g:String{
{
func b
func a
func f=c
protocol c
private let a{() {
func b
}
let a{
deinit{
let a{
func f: A {(d a(d a<T where I:A:T>){
deinit{
extension D{
}c
func d:a
extension D{func a
let a {init{
struct B{let g c
}
println -
case,
}
let c {
func a(d a{
func a{() > {
}
}
struct A<T where I:String
struct B{
class B{(d func f: C {struct c
}c
() {
func f: C {
protocol c : d func f{let a<A< : NSObject
case,
struct c n
{struct c
let g c{
class a{
protocol c
enum e, : T>:String{func a
(d a{("
let f: <T where
let a {let a {
struct c n
func a<T where : NSObject
struct c
case,
struct S<T>){
}struct d<B{let a {class
func d<A:N{
func d:C{struct c{init{
struct c
import Foundation
case,
func d=e
struct S<T {
func d<T where : NSObject
case,
struct B<T where I:a
class B<T where
func f: <T>:C{class{
class