Add more "Safe Delete" tests for value parameters
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
package test;
|
||||
|
||||
class A {
|
||||
void bar() {
|
||||
TestPackage.foo(
|
||||
"", 10, new Function1<Integer, Unit>() {
|
||||
public Unit invoke(Integer n) {
|
||||
System.out.println(n);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user