Skip to content

Commit a199fb2

Browse files
committed
Merge pull request #2918 from practicalswift/swiftc-28307-swift-typechecker-resolveidentifiertype
2 parents 78c1870 + b508b89 commit a199fb2

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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+
// REQUIRES: asserts
10+
struct D:d< : < :Int {class T: T: a {
11+
class T class A S : P {case,
12+
func a {{ }typealias d A enum S{
13+
class A {
14+
}
15+
class A
16+
class T: T {func a{
17+
func f: a typealias d
18+
class
19+
struct c {letct c {class
20+
class
21+
var d
22+
clafunc a class A enum S{
23+
{class B h d T : a {class
24+
let a{
25+
func a class B
26+
}
27+
class d S : a typealias b {case
28+
}}
29+
case c d e B T wc d where g: d : d where c func f: d T{
30+
class A {
31+
var d
32+
struct c {
33+
}} } } "
34+
{
35+
}typealias b b class A func g Int ( ( ( ) >{
36+
var d T where h A func d
37+
var _= g: d A
38+
}
39+
struct D a{
40+
var d
41+
{
42+
class A {
43+
protocol A{
44+
protocol A
45+
class T: P {
46+
var d
47+
}
48+
func f: a {
49+
struct B T where g: d
50+
{ {{ } "
51+
}
52+
}
53+
var d e d e d
54+
class B
55+
}
56+
class T let a T {
57+
class B S : a {
58+
case,
59+
func a S : a {
60+
class A func a{
61+
}
62+
struct c {
63+
protocol A func a
64+
struct c {let a e
65+
protocol a { class A func g: d A
66+
let end = A } }} }}}protocol A{class A func a b c,
67+
class A {class A
68+
[]
69+
class
70+
class A
71+
protocol A T{
72+
protocol a {class B S : T
73+
struct c {
74+
}
75+
}"
76+
}
77+
class c{
78+
class B
79+
struct D A Int } typealias b
80+
func d where h:
81+
c

0 commit comments

Comments
 (0)