more java tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 10:48:17 +04:00
parent 735a9d17a8
commit 2718da9fc7
1139 changed files with 14287 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
// "Defer assignment to 'n' using temp variable" "true"
import java.io.*;
class a {
final int n;
a(InputStream in) {
if (in==null) {
n= 2;
<caret>n= 2;
int h = n;
}
else {
n=4;
}
f(n);
int p = n;
}
void f(int i) {}
}