mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-07 00:21:28 +00:00
Test data should be a Kotlin source file with zero or more comments e.g. of the form: '// 1 INVOKEVIRTUAL'. The test then checks that the generated bytecode for this file contains exactly one occurrence of the string 'INVOKEVIRTUAL'
6 lines
58 B
Kotlin
Vendored
6 lines
58 B
Kotlin
Vendored
val a : Int? = 10
|
|
|
|
fun foo() = a?.toString()
|
|
|
|
// 1 IFNULL
|