diff --git a/tests/entry_point.aer b/tests/entry_point.aer new file mode 100644 index 0000000..e167638 --- /dev/null +++ b/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"); + } + +} diff --git a/tests/entry_point.exp b/tests/entry_point.exp new file mode 100644 index 0000000..241f33f --- /dev/null +++ b/tests/entry_point.exp @@ -0,0 +1,3 @@ +Program::__construct() called. +Program::main() called. +Program::__destruct() called. \ No newline at end of file