diff --git a/tests/1/t2.zwei b/tests/1/t2.zwei new file mode 100755 index 0000000..d69633e --- /dev/null +++ b/tests/1/t2.zwei @@ -0,0 +1,9 @@ +class Example { +def main ( ): Null = { +var fac : Factorial = new Factorial ( ); +var x : Int = 5; +printInt (fac.factorial1 (x ) ); +printInt (fac.factorial2 (x ) ); +}; +} +new Example ( ).main ( ) \ No newline at end of file