Skip to content

Commit bff17cb

Browse files
authored
Merge pull request #6119 from bitjammer/sr-3354-crash-case
2 parents c1eed84 + ff830ce commit bff17cb

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
// RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
22
// REQUIRES: asserts
3-
protocol A{class T#^A^#class b:Array<T>
3+
// https://bugs.swift.org/browse/SR-3354
4+
protocol A{class T#^A^#class b:Array<T>
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 -emit-ir
2+
// REQUIRES: asserts
3+
4+
// https://bugs.swift.org/browse/SR-3354
5+
class A {
6+
class T {
7+
class b: Array<T> {
8+
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)