Browse Source

Test program entry point.

release/v0.1
Rafal Kupiec 2 years ago
parent
commit
0b04e0f7c5
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
2 changed files with 18 additions and 0 deletions
  1. +15
    -0
      tests/entry_point.aer
  2. +3
    -0
      tests/entry_point.exp

+ 15
- 0
tests/entry_point.aer View File

@ -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
- 0
tests/entry_point.exp View File

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

Loading…
Cancel
Save