failing test

This commit is contained in:
Maxim Shafirov
2011-06-20 14:45:27 +04:00
parent ef601c5710
commit b4ded8702c
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,7 @@
fun box() : String {
return if (invoker({49}) == 49) "OK" else "fail"
}
fun invoker(gen : {() : Int}) : Int {
return gen()
}
@@ -0,0 +1,10 @@
package org.jetbrains.jet.codegen;
/**
* @author max
*/
public class ClosuresGenTest extends CodegenTestCase {
public void testSimplestClosure() throws Exception {
blackBoxFile("classes/simplestClosure.jet");
}
}