Untyped variadic function types should not be permitted in strict mode
[hiphop-php.git] / hphp / hack / test / typecheck / fc_enum_13.php
blob10d9c1a44f1177695ed93dbeded8a1c3e662b1b2
1 <?hh // strict
3 // No using HH\BuiltinEnum
4 function foo(mixed $foo): bool {
5 return $foo instanceof HH\BuiltinEnum;