Tests for 'suppress' annotation

This commit is contained in:
Andrey Breslav
2013-09-17 19:28:43 +04:00
parent 1dff2fcf36
commit 2dfaa81995
25 changed files with 265 additions and 3 deletions
@@ -0,0 +1,6 @@
class C {
suppress("REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION")
class object {
val foo: String?? = ""!! <!USELESS_CAST_STATIC_ASSERT_IS_FINE!>as<!> String??
}
}