Add IR equivalent of AbstractBytecodeListingTest and muted failures.

This commit is contained in:
Mark Punzalan
2020-02-05 15:50:54 -08:00
committed by Dmitry Petrov
parent 06b6477d04
commit b782e8f0f0
68 changed files with 594 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
class Example {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
class Foo {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
@Target(AnnotationTarget.FIELD)
annotation class Anno
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
annotation class Ann
@Ann open class My
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
@Target(AnnotationTarget.CLASS)
annotation class ClsAnn
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
annotation class Simple(val value: String)
fun localCaptured(): Any {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class Foo private constructor(s: String) {
private fun foo(s: String) {}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
annotation class Ann
class Foo private @Ann constructor(@Ann s: String) {
@@ -1,4 +1,5 @@
// !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm
// IGNORE_BACKEND: JVM_IR
import kotlin.reflect.KProperty