Remove obsolete codegen test data

This commit is contained in:
Alexander Udalov
2014-12-29 18:46:11 +03:00
parent 7668f44655
commit 6cd6704bcf
13 changed files with 19 additions and 91 deletions
-5
View File
@@ -1,5 +0,0 @@
package foo
fun main(args : Array<String>) {
}
-5
View File
@@ -1,5 +0,0 @@
fun f(): Int {
var x: Int = 1
x = x + 1
return x
}
-7
View File
@@ -1,7 +0,0 @@
fun main() {
var bottles = 99;
while(bottles > 0) {
System.out?.println("bottles of beer on the wall");
bottles--;
}
}
-7
View File
@@ -1,7 +0,0 @@
fun main() {
var bottles = 99;
while(bottles > 0) {
System.out?.println("bottles of beer on the wall");
bottles -= 1;
}
}
@@ -0,0 +1,9 @@
fun box(): String {
var bottles = 99
while (bottles > 0) {
// System.out.println("bottles of beer on the wall");
bottles -= 1
bottles--
}
return if (bottles == -1) "OK" else "Fail $bottles"
}
@@ -1,9 +0,0 @@
fun f() : String? {
val x = StringBuilder();
g(x);
return x.toString();
}
fun g(sb: StringBuilder): Unit {
sb.append("foo");
}
-1
View File
@@ -1 +0,0 @@
fun f() { System.out?.println("Hello World"); }
@@ -1,6 +0,0 @@
fun f(a:Int) : Int {
val x = 42
val y = 50
return y
}
@@ -1,10 +0,0 @@
class SimpleClass {
this() {}
fun foo() = 610
}
fun test() {
val c = SimpleClass()
return c.foo()
}
-1
View File
@@ -1 +0,0 @@
fun f() : Any? { return System.out; }