f09ba64234
- Store options for test in file - Change default for namesHighlightingTest - Combine highlighting and deprecated tests
14 lines
276 B
Kotlin
14 lines
276 B
Kotlin
class MyClass {
|
|
val i = 0
|
|
}
|
|
|
|
deprecated("Use A instead") fun MyClass.inc(): MyClass { return MyClass() }
|
|
|
|
fun test() {
|
|
var x3 = MyClass()
|
|
x3<warning descr="'fun inc()' is deprecated. Use A instead">++</warning>
|
|
x3.i
|
|
}
|
|
|
|
// NO_CHECK_INFOS
|
|
// NO_CHECK_WEAK_WARNINGS |