Files
kotlin-fork/compiler/testData/ir/irText/expressions/simpleUnaryOperators.kt
T
Dmitry Petrov 0b647ac358 Basic class members generation.
Split testData into 'classes' and 'expressions'.
2016-10-18 09:08:32 +03:00

8 lines
130 B
Kotlin
Vendored

fun test1(x: Int) = -x
fun test2() = -42
fun test3(x: Int) = +x
fun test4() = +42
fun test5(x: Boolean) = !x
fun test6() = !true