Aer/tests/reference_test.aer
belliash ff73690111
Some checks reported errors
The build has failed.
Update tests to follow new syntax.
2019-03-17 19:48:52 +01:00

14 lines
146 B
Plaintext

class Program {
void add_by_ref(int &$val) {
$val += 7;
}
void main() {
int $num = 7;
$this->add_by_ref($num);
var_dump($num);
}
}