Files
swift-mirror/validation-test/compiler_crashers/0030-string-as-extensibe-collection.script.swift
Chris Willmore 513b05c283 compiler_crashers: Use %target-swift-frontend instead of %swift -sdk %sdk
This fixes compiler_crashers tests that use the ObjC interface on
iOS hardware SDKs.

Swift SVN r23458
2014-11-20 00:32:59 +00:00

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")