Add tests for not virtualized functions
[hiphop-php.git] / hphp / hack / test / typecheck / expression_trees_not_virtualize_functions / postfix_minus_minus_error2.php
blob037ae1ba3ac5f67dafcde3327d1d975108c5ac48
1 <?hh
3 <<file: __EnableUnstableFeatures('expression_trees')>>
5 function test(): void {
6 // ExampleFloat doesn't implement the postfix plus plus operator,
7 // so don't expect this to typecheck
8 ExampleDsl`() ==> {
9 $i = 1.0;
10 $i--;
11 }`;