Add tests for obsolete issues

#KT-11979 Obsolete
 #KT-12898 Obsolete
 #KT-30657 Obsolete
 #KT-28446 Obsolete
This commit is contained in:
Mikhail Zarechenskiy
2019-12-12 15:25:56 +03:00
parent c3ffef1840
commit 3840294f44
15 changed files with 244 additions and 0 deletions
@@ -0,0 +1,8 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE
fun a() {
val x = 10
foo(::<!UNSUPPORTED!>x<!>)
}
fun foo(a: Any) {}