Skip to content

Commit a35567d

Browse files
committed
Merge pull request #280 from practicalswift/sync-with-swift-compiler-crashes-20151206
Sync with https://github.com/practicalswift/swift-compiler-crashes
2 parents df3d028 + ebdf680 commit a35567d

File tree

343 files changed

+3698
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

343 files changed

+3698
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
func a{class A{struct Q{struct d{struct c{struct Q{struct Q{{}}}}}}}}class S<T{func a<h{func b<T where h.g=a{
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
let P{if{{}class d{enum a}}}class S<T{func a<h{func b<T where h.g=a{
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
class A{struct S{protocol a{func a<f:f.l}}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
extension String{{}func c{class a{struct h{let a:d struct d<f:f.c
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
var b{
8+
let a{
9+
struct d<T where H:A
10+
{struct c<I{
11+
var _=B
12+
struct B
13+
struct B
14+
}
15+
}}enum a{
16+
struct Q{enum A{
17+
struct S:BooleanType d
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
struct B{struct X<T:T.a}{class({{{{{{{{{([{{{{{{{{{{{{{{{a"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
var:{{let
8+
v{class B<f:d
9+
struct d<f:f.c}}{
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
let a{{struct Q<T where g:T{class A{class B:A{func a
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
enum B<T where h:b{var f=[]class A{let a=A}struct A
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
{{}class C<T where g:b{enum S<D{
8+
struct A{{}}struct A
9+
let b=A
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
for b:{if{}}{{class S<T{func a<h{func b<T where h.g=a{
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
enum A
8+
protocol A{
9+
typealias f:a
10+
func a<T where f:d
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
struct Q<T where h:A{class b<a{class b<func b{{t{{}}struct b}func x{let a=b}if{{struct c{}struct S{class b{struct B
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
struct S<T where h=a{class d<T{var _{{{class B:d
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
init}{var:t
8+
class d<f:f.c}init
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
struct B<T where h:A{var _=true{}struct A{let r=A}struct A
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
var A{{enum A<T where g:C{
8+
class a{class b
9+
{
10+
class b:a{
11+
class a
12+
let a{
13+
e
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
{class B<A{protocol A{func g:B}}func f<f:f.B
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
let a{enum B{class B{struct d{struct Q{let a{struct S<f:f.c}protocol C
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
import d
8+
}{struct d{{
9+
}
10+
struct S{
11+
class d<T where a=b{
12+
class d{
13+
func b
14+
let a{
15+
{
16+
class d{class d{{{{}
17+
{
18+
}{}}}class A{
19+
var f=b
20+
struct S{
21+
var a
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
{struct Q{protocol a{class T func f:T{}}}class A{class A{func g<f:f.c
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
struct S<T{let:{class b.protocol P{func f func f:T.C
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
{class a{
8+
typealias f=c
9+
protocol c
10+
class B<T:T.E
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
class A{{{}{}}struct b{{}struct S{enum a{{}{{{{}}}}class S<T{func a<h{func b<T where h.g=a{}}{{{{}}}}}}class S<T{{{}}class d
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
func a{
8+
class a
9+
class b{
10+
enum b{
11+
struct e
12+
{{{
13+
{{{{
14+
}}}}}}class S<T{func a<h{func b<T where h.g=a{}}class d
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
class B{struct a}struct B<T:T.a
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
{struct a{class B:var f=B{}}enum b{struct S{struct c<T where h:a{struct S<A{struct Q{struct c,let a=c
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
let a{enum B{struct b}struct A{struct b<f:f.a
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
<c}struct B<T where h:a{struct d{struct c<b{var b={class a}let f=c{
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
class B<T{
8+
let f{
9+
struct Q{
10+
let f=B<T
11+
struct B{
12+
class B<T where h:a{
13+
enum B<T
14+
struct B var f=B
15+
class B T
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
class B<func b{enum b{class B{}}}class S<T{func a<h{func b<T where h.g=p
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
{struct Q<T{init{}class B:a
8+
class a{
9+
func a<f:f.s
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
var d{{{}}class A{enum b{enum B{func a<f:f.c
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
let a{let f=class A{class B{{}class d<f:f.c
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
let a{enum b{struct Q<S let a{func f<f:f.c
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
{enum b
8+
struct S<T where h:d{
9+
let:Int=b<T
10+
struct Q{struct A{let s=A{
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
class d<T where H:P{class d<H{
8+
class a{
9+
}let
10+
let a{s
11+
a
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
func g{
8+
{
9+
}
10+
class a a{
11+
struct d<T where I:A{class d{
12+
let t:a{
13+
}}}if{
14+
class
15+
b
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
func a{class a{class T{let i{struct c<f:f.c{}}enum A{enum b
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
func c{{}protocol a{protocol a{{{{}}}}typealias e:a}struct Q<f:f.c

0 commit comments

Comments
 (0)