Untyped variadic function types should not be permitted in strict mode
[hiphop-php.git] / hphp / hack / test / typecheck / array_plus_sub_4.php
blob6852048999cef9aebad5f9ad407741f5d34bcb62
1 <?hh //strict
3 function foos(): array<string> {
4 return array();
6 function bars2(): array<string, int> {
7 return array();
10 function test_a(): array<mixed> {
11 $a = foos();
12 $a += bars2();
13 return $a;