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:
Alexander Udalov
2018-12-18 17:35:14 +01:00
parent 00caa23307
commit f5ff3d2fa9
90 changed files with 86 additions and 227 deletions
@@ -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,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
@@ -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,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,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,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