Untyped variadic function types should not be permitted in strict mode
[hiphop-php.git] / hphp / hack / test / typecheck / async_hint5.php
blobf00398cbee3c7df267ea38da478b4b6be8ad27ed
1 <?hh
3 // Testing lambda
4 async function foo() {
5 $nohint = async $x ==> await $x + 1;
6 throw new Exception();