[FIR] Disable failing blackbox codegen tests for FIR.

This commit is contained in:
Mark Punzalan
2019-11-18 14:35:02 -08:00
committed by Mikhail Glukhikh
parent fc9ccafb84
commit 9df2f69f09
4019 changed files with 4042 additions and 22 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
class B1
class B2(val x: Int)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun foo(f: (Int) -> Int) = f(0)
class Outer {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
class Nested
inner class Inner
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Test {
class Nested {
val value = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
inner class Inner<T>(val t: T) {
fun box() = t
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// FILE: JavaClass.java
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// FILE: JavaClass.java
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
inner class Inner {
fun O() = this@Outer.O
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
inner class Inner {
fun box() = "OK"
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Test {
interface Foo { }
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//KT-3927 Inner class cannot be instantiated with child instance of outer class
abstract class Base {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
class Nested{
fun foo(s: String) = s.extension()
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
class Nested {
fun fn() = s
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
object A {
class B
class C<T>
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
class Nested {
companion object {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
enum class Nested {
O,
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
class Nested<T>(val t: T) {
fun box() = t
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A1(y: String) {
val x = "A1.x,$y"
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// See KT-9246 IllegalAccessError when trying to access protected nested class from parent class
// FILE: a.kt
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(val s: String) {
open inner class B(s: String): A(s)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
abstract class L1 {
abstract fun foo(): String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class Father(val param: String) {
abstract inner class InClass {
fun work(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class Father(val param: String) {
abstract inner class InClass {
fun work(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// When inner class extends its outer, there are two instances of the outer present in the inner:
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
abstract class Father {
abstract inner class InClass {
abstract fun work(): String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
abstract class Father {
abstract inner class InClass {
abstract fun work(): String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
fun bar(): Any {
return {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class Father(val param: String) {
abstract inner class InClass {
fun work(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
val result = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
val three = 3
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KT-3581
open class A(val result: String = "OK") {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class SomeClass(val some: Double, val other: Int, vararg val args: String) {
fun result() = args[1]
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
open inner class Inner(val result: String)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
open inner class Inner(val result: String = "OK", val int: Int)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
val capture = "oh"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
class Local {
open inner class Inner(val s: String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(val s: String)
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
val d = 42.0
val c = 'C'
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(val a: String, val b: Int)
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
fun bar(): Any {
return {