This commit is contained in:
parent
407bcf5a29
commit
0b04e0f7c5
15
tests/entry_point.aer
Normal file
15
tests/entry_point.aer
Normal 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
tests/entry_point.exp
Normal file
3
tests/entry_point.exp
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Program::__construct() called.
|
||||||
|
Program::main() called.
|
||||||
|
Program::__destruct() called.
|
Loading…
Reference in New Issue
Block a user