Added tests for obsolete tasks

This commit is contained in:
Svetlana Isakova
2015-06-10 19:32:58 +03:00
parent 690a46bbb4
commit 086e69e132
24 changed files with 326 additions and 0 deletions
@@ -0,0 +1,11 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
import java.util.ArrayList
fun <T> foo(a : T, b : Collection<T>, c : Int) {
}
fun arrayListOf<T>(vararg values: T): ArrayList<T> = throw Exception("$values")
val bar = foo("", arrayListOf(),<!SYNTAX!><!> )
val bar2 = foo<String>("", arrayListOf(),<!SYNTAX!><!> )