[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
fun testPrefix() {
|
||||
operator fun Any.not() {}
|
||||
!todo()
|
||||
}
|
||||
|
||||
fun testPostfixWithCall(n: Nothing) {
|
||||
operator fun Nothing.inc(): Nothing = this
|
||||
n++
|
||||
}
|
||||
|
||||
fun testPostfixSpecial() {
|
||||
todo()!!
|
||||
}
|
||||
|
||||
fun todo(): Nothing = throw Exception()
|
||||
Reference in New Issue
Block a user