Cleanup (test moved to a correct location)

This commit is contained in:
Roman Shevchenko
2015-07-18 23:13:56 +03:00
parent f2c9ca8d97
commit de416d4f7f
9 changed files with 11 additions and 23 deletions
@@ -0,0 +1,23 @@
import java.util.*;
class C {
interface Simplest {
void m();
}
void use(Simplest s) { }
interface IntParser {
int parse(String s);
}
void test() {
Simplest simplest = () -> { };
use(() -> { });
IntParser intParser = (String s) -> Integer.parseInt(s);
}
Runnable foo() {
return () -> { System.out.println("foo"); };
}
}