Test program entry point.
All checks were successful
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-04-17 17:41:47 +02:00
vanhempi 407bcf5a29
commit 0b04e0f7c5
Allekirjoittanut: belliash
GPG avaimen ID: 4E829243E0CFE6B4
2 muutettua tiedostoa jossa 18 lisäystä ja 0 poistoa

15
tests/entry_point.aer Normal file
Näytä tiedosto

@ -0,0 +1,15 @@
class Program {
void __construct() {
print("Program::__construct() called.\n");
}
void __destruct() {
print("Program::__destruct() called.\n");
}
void main() {
print("Program::main() called.\n");
}
}

3
tests/entry_point.exp Normal file
Näytä tiedosto

@ -0,0 +1,3 @@
Program::__construct() called.
Program::main() called.
Program::__destruct() called.