Remove obsolete codegen test data
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
package foo
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
fun f(): Int {
|
||||
var x: Int = 1
|
||||
x = x + 1
|
||||
return x
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
fun main() {
|
||||
var bottles = 99;
|
||||
while(bottles > 0) {
|
||||
System.out?.println("bottles of beer on the wall");
|
||||
bottles--;
|
||||
}
|
||||
}
|
||||
@@ -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 +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 +0,0 @@
|
||||
fun f() : Any? { return System.out; }
|
||||
Reference in New Issue
Block a user