blob: 03d4b0dc11921ace2d4a099c91a63ce53a0d8686 [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
re g{ enum b = c("))
let a{}()
}class A {
a
B<T where g:b(")
class d>(_ = c{
import Foundation
func f.C{let:T? = [Void{
class A {
class d<f<T : {
init()
var b<T : T
if true{
T] {
init()
class A{
if tocol c(){
struct S <T.c
var a
struct Q<T where H:T.c()
class A : {enum b {
class B:P{
end " ( 1 ]
var a{
struct c(){
class B<C<d<d<d<T{}struct S< C {
func c(_ = F>()
struct A<
class C<T {
struct S< {
class B< g<T where T.e: {let v{{}
b{{
var b:T.c{ enum b<T{
let c{
var b(_ = 0
B
func f<T : T.c{ enum b = e
class A : a {
if true {}class B:P{
class C{
struct