forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request swiftlang#3002 from practicalswift/swiftc-28313-sw…
…ift-typechecker-checkgenericparamlist
- Loading branch information
Showing
1 changed file
with
81 additions
and
0 deletions.
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
validation-test/compiler_crashers/28313-swift-typechecker-checkgenericparamlist.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
// 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 http://swift.org/LICENSE.txt for license information | ||
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors | ||
|
||
// RUN: not --crash %target-swift-frontend %s -parse | ||
yObject, x in 0 | ||
class a{ | ||
enum b { | ||
class A { | ||
class A { | ||
let i: c | ||
struct D{ | ||
enum b { | ||
struct A : a { | ||
func f: b | ||
if true { | ||
class A { | ||
func d.j where g: j.j: j: Int = { | ||
map(x(object1: A? { | ||
class c | ||
func b: NSObject {{ | ||
} | ||
class A : Int = b<T: (x() | ||
import Foundation | ||
var d<T | ||
enum b { | ||
func c | ||
if true { | ||
func f | ||
class A { | ||
class A : NSObject { | ||
class A { | ||
class A : NSManagedObject { | ||
if true {class B? { | ||
func a{ | ||
func d.E | ||
func f: NSManagedObject {let:(" | ||
func f<T>()? | ||
var f = c<I : Int = { | ||
class a { | ||
class a<T where T | ||
class A : NSManagedObject { | ||
var f : A : U : a { | ||
func f<T where g.E | ||
{ | ||
va d<T -> { | ||
let a{ | ||
var} | ||
var d { | ||
{ | ||
struct D | ||
class b: a {{ | ||
clas | ||
var b<T | ||
} | ||
if true { | ||
struct A {struct d<T where T where T> | ||
class d.h == compose() -> { | ||
class A : NSObject { | ||
let start = b<T where g: NSObject { | ||
func d | ||
class b | ||
class B<T where T> | ||
class B | ||
class b<T, j, x in 0 | ||
struct d{ | ||
var _ = c | ||
fum b {{ | ||
class A {{struct S<T> { | ||
var f {let(x( | ||
func e, j.h == b{ | ||
} | ||
class B? {{ | ||
func e:b<c in 0 | ||
S<T> U)" | ||
func c>() { p(s(" | ||
func f: j.j where g: A { | ||
stru |