mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
9 lines
186 B
Swift
9 lines
186 B
Swift
// RUN: %swift %s -emit-ir
|
|
// Test case submitted to project by https://github.com/tmu (Teemu Kurppa)
|
|
|
|
func f<S : ExtensibleCollectionType>(seq: S) -> S {
|
|
return S() + seq
|
|
}
|
|
|
|
f("a")
|