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