Added some testfiles
1 parent cf6f303 commit f3633287349439bdf7147dee2b57f1cd6d995634
@ajaggi ajaggi authored on 27 Dec 2005
Showing 5 changed files
View
12
tests/4/aj-01.zwei 0 → 100755
class C {
Int a;
Int b;
}
{
Int a = null;
C b = new C(a*10, 10);
 
if ( a == b.a ) {
};
}
View
25
tests/4/aj-02.zwei 0 → 100755
class List {
Int isEmpty() { return this.isEmpty() }
Int head() { return this.head() }
List tail() { return this.tail() }
List cons(Int x) { return this.cons(x) }
}
 
class Cons extends List {
Int head;
List tail;
Int isEmpty() { return false }
Int head() { return this.head }
List tail() { return this.tail }
List cons(Int x) { return new Cons(x, this) }
}
 
class Nil extends List {
Int isEmpty() { return true }
List cons(Int x) { return new Cons(x, this) }
}
 
{
if ( "aaa" == "" ) {};
}
View
tests/4/aj-03.zwei 0 → 100755
View
tests/4/aj-04.zwei 0 → 100755
View
tests/4/michitest-001.zwei 0 → 100755