File tree Expand file tree Collapse file tree 1 file changed +71
-0
lines changed
validation-test/compiler_crashers Expand file tree Collapse file tree 1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ // This source file is part of the Swift.org open source project
2
+ // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3
+ // Licensed under Apache License v2.0 with Runtime Library Exception
4
+ //
5
+ // See http://swift.org/LICENSE.txt for license information
6
+ // See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7
+
8
+ // RUN: not --crash %target-swift-frontend %s -parse
9
+ struct B< b where T> { { return " class A<b protocol b{
10
+ func<b {
11
+ func g:BooleanType
12
+ struct B{
13
+ class A.
14
+ struct B{n C{struct B:A<d where f={
15
+ {}struct b: A.h: T where g:b{let l=c<d where B{class B<T where k:a()class A{let:A{
16
+ class B{
17
+ {
18
+ {
19
+ let a{
20
+ if true {class c
21
+ class B:a{
22
+ let a{let e{let e=b
23
+ {
24
+ struct c {
25
+ if{
26
+ class b
27
+ struct B:e
28
+ if true {}
29
+ {
30
+ {func a(){{let l=b
31
+ import Foundation
32
+ if{
33
+ enum S<T where k:A{
34
+ var f{let a=b where B<T : A{
35
+ import Foundation
36
+ class A.h:BooleanType
37
+ func c
38
+ {
39
+ let t:b)class g:e
40
+ func a{struct S{class c<T where B:a{let:A{
41
+ class B{let a {n C{class B<T where k:b)class a(){
42
+ func a{func c{
43
+ if true {let a(){n C{var f.
44
+ {}
45
+ import c<T:A.h:b
46
+ enum S<b where T:b{
47
+ {
48
+ class a{
49
+ struct g {class A{
50
+ {
51
+ class A{
52
+ func c
53
+ let a=b where f={{class B<h
54
+ {let a={
55
+ var f=b){class b
56
+ {e f=i[where[{struct B<b
57
+ {struct
58
+ if true{struct B<T where h:a{}
59
+ class b{let a{
60
+ enum S{
61
+ var f.
62
+ class B<T where T:d
63
+ class A{
64
+ {
65
+ if true {
66
+ {
67
+ class g:a
68
+ import c
69
+ class B<T where g:d
70
+ typealias F=bhere k:A{return " class B< b
71
+ enum b where B: BooleanType
You can’t perform that action at this time.
0 commit comments