Untyped variadic function types should not be permitted in strict mode
[hiphop-php.git] / hphp / hack / test / typecheck / unused_awaitable15.php
blob52c29aead3127a8a0c58879a9297079d9c5ac56f
1 <?hh // strict
3 async function f(): Awaitable<?float> {
4 return 1.0;
7 function g(): (float, float) {
8 $a = (float)f();
9 $b = (float)f();
10 return tuple($a, $b);