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

0 commit comments

Comments
 (0)