mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Remove directives that have no effect from bytecode text tests
All bytecode text tests are run with stdlib in the classpath and only for JVM backend, therefore directives WITH_RUNTIME, TARGET_BACKEND, IGNORE_BACKEND are not needed
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val arr = arrayOf("a", "b", "c", "d")
|
||||
|
||||
fun box(): String {
|
||||
@@ -19,4 +17,4 @@ fun box(): String {
|
||||
// 0 next
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 ARRAYLENGTH
|
||||
// 1 ARRAYLENGTH
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val arr = arrayOf("a", "b", "c", "d")
|
||||
|
||||
fun box(): String {
|
||||
@@ -19,4 +17,4 @@ fun box(): String {
|
||||
// 0 next
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 ARRAYLENGTH
|
||||
// 1 ARRAYLENGTH
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val arr = intArrayOf()
|
||||
|
||||
fun box(): String {
|
||||
@@ -16,4 +14,4 @@ fun box(): String {
|
||||
// 0 next
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 ARRAYLENGTH
|
||||
// 1 ARRAYLENGTH
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val arr = intArrayOf(10, 20, 30, 40)
|
||||
|
||||
fun box(): String {
|
||||
@@ -17,4 +15,4 @@ fun box(): String {
|
||||
// 0 next
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 ARRAYLENGTH
|
||||
// 1 ARRAYLENGTH
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val arr = arrayOf("a", "b", "c", "d")
|
||||
|
||||
fun box(): String {
|
||||
@@ -19,4 +17,4 @@ fun box(): String {
|
||||
// 0 next
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 ARRAYLENGTH
|
||||
// 1 ARRAYLENGTH
|
||||
|
||||
Reference in New Issue
Block a user