[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
fun testCompound() {
|
||||
operator fun Nothing.get(i: Int) {}
|
||||
todo()!![12]
|
||||
}
|
||||
|
||||
fun testCompound1() {
|
||||
operator fun Int.times(s: String): Array<String> = throw Exception()
|
||||
(todo() * "")[1]
|
||||
}
|
||||
|
||||
fun todo(): Nothing = throw Exception()
|
||||
Reference in New Issue
Block a user