Newer
Older
zweic / tests / 4 / michitest-001.zwei
@ajaggi ajaggi on 27 Dec 2005 170 bytes Added some testfiles
  1. class A {
  2. Int x;
  3. }
  4.  
  5. class B {
  6. Int x;
  7. Int equal(B that) {
  8. return this.x == that.x
  9. }
  10. }
  11.  
  12. class C extends B{
  13. }
  14.  
  15. {
  16. printInt(new B(1).equal(new C(2)));
  17. printChar(10);
  18. }