mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add basic compilation tests from swift-compiler-crashes (https://github.com/practicalswift/swift-compiler-crashes.git)
Swift SVN r21693
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// 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")
|
||||
Reference in New Issue
Block a user