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
-3
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val cs: CharSequence = "abcd"
|
||||
|
||||
fun box(): String {
|
||||
@@ -20,4 +18,4 @@ fun box(): String {
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 length
|
||||
// 1 charAt
|
||||
// 1 charAt
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun box(): String {
|
||||
for ((index, x) in "".withIndex()) {
|
||||
return "Loop over empty String should not be executed"
|
||||
@@ -14,4 +12,4 @@ fun box(): String {
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 length
|
||||
// 1 charAt
|
||||
// 1 charAt
|
||||
|
||||
Vendored
+1
-3
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun box(): String {
|
||||
val s = StringBuilder()
|
||||
|
||||
@@ -18,4 +16,4 @@ fun box(): String {
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 length
|
||||
// 1 charAt
|
||||
// 1 charAt
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val xs = "abcd"
|
||||
|
||||
fun box(): String {
|
||||
@@ -20,4 +18,4 @@ fun box(): String {
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 length
|
||||
// 0 charAt
|
||||
// 0 charAt
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val xs = "abcd"
|
||||
|
||||
fun box(): String {
|
||||
@@ -20,4 +18,4 @@ fun box(): String {
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 length
|
||||
// 1 charAt
|
||||
// 1 charAt
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val xs = "abcd"
|
||||
|
||||
fun useAny(x: Any) {}
|
||||
@@ -23,4 +21,4 @@ fun box(): String {
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 length
|
||||
// 1 charAt
|
||||
// 1 charAt
|
||||
|
||||
Reference in New Issue
Block a user