Add more tests.
All checks were successful
The build was successful.

This commit is contained in:
2019-02-05 19:48:38 +01:00
parent ff9e38a480
commit ed8dab7870
4 changed files with 33 additions and 0 deletions

13
tests/reference_test.aer Normal file
View File

@@ -0,0 +1,13 @@
class Program {
function add_by_ref(int &$val) {
$val += 7;
}
function main() {
int $num = 7;
$this->add_by_ref($num);
var_dump($num);
}
}