Browse Source

Test program entry point.

release/v0.1
Rafal Kupiec 3 years ago
parent
commit
0b04e0f7c5
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
  1. 15
      tests/entry_point.aer
  2. 3
      tests/entry_point.exp

15
tests/entry_point.aer

@ -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

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