mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This fixes compiler_crashers tests that use the ObjC interface on iOS hardware SDKs. Swift SVN r23458
10 lines
203 B
Swift
10 lines
203 B
Swift
// RUN: %target-swift-frontend %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")
|