Fail on compilation errors in AbstractBytecodeTextTest
This commit is contained in:
Vendored
+1
@@ -1,6 +1,7 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
|
||||
// FILE: Z.kt
|
||||
@Suppress("RESERVED_VAR_PROPERTY_OF_VALUE_CLASS")
|
||||
inline class Z(val x: Int) {
|
||||
val aVal: Int
|
||||
get() = x
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_DEXING
|
||||
class `(X)` {
|
||||
fun `(Y)`() {}
|
||||
}
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
fun main() {
|
||||
println("FAIL")
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
fun main()
|
||||
{
|
||||
l@ if (2 != 1) "fail 3"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
fun test(x: Int): String {
|
||||
when {
|
||||
return when {
|
||||
x == 1 || x == 3 || x == 5 -> "135"
|
||||
x == 2 || x == 4 || x == 6 -> "246"
|
||||
else -> "other"
|
||||
|
||||
Reference in New Issue
Block a user