Skip to content

Commit 0e7e4ba

Browse files
committed
[CodeCompletion] Add an already-fixed crashing test case
rdar://problem/58470999
1 parent 63167fa commit 0e7e4ba

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s
2+
3+
protocol P {
4+
func foo<T: P>(arg: T)
5+
}
6+
7+
func foo(x: P) {
8+
x.foo(arg: #^COMPLETE^#)
9+
}

0 commit comments

Comments
 (0)