global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / parse_type_not_typedef.php
blob0a0606e0189d3c5a9b4e35fa728a5d1487b15177
1 <?hh
3 function type() { // ok, 'type' is context sensitive
4 echo "Hi\n";
6 type();
8 class Foo {
9 const TYPE = 'hi2';
12 echo Foo::TYPE . "\n";
14 type t = int;
15 function wat(t $type) {
16 echo $type . "\n";
18 wat(12);