long/double tests added

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@872 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 1622bd58c3
commit 8864f95b43
  1. 7
      jode/test/AnonymousClass.java

@ -26,8 +26,11 @@ public class AnonymousClass {
int var = 3; int var = 3;
public void test() { public void test() {
final long longVar = 5;
final double dblVar = 3;
class Hello { class Hello {
int var = 4; int var = (int) longVar;
Hello() { Hello() {
System.err.println("construct"); System.err.println("construct");
@ -40,7 +43,7 @@ public class AnonymousClass {
this.hashCode(); this.hashCode();
Inner.this.hashCode(); Inner.this.hashCode();
AnonymousClass.this.hashCode(); AnonymousClass.this.hashCode();
System.err.println("HelloWorld"); System.err.println("HelloWorld: "+dblVar);
} }
}; };
final Hello hi = new Hello(); final Hello hi = new Hello();

Loading…
Cancel
Save