sync the repo
[hiphop-php.git] / hphp / hack / test / typecheck / functional_xhp.php
blobadc089bb7cdfbcdf92bfe67303b54d087e1e57ca
1 <?hh
2 /**
3 * Copyright (c) 2014, Facebook, Inc.
4 * All rights reserved.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
12 class :x:xx extends XHPTest {
13 attribute Map<string, int> k;
16 class :x:xy {}
18 class A {}
20 function test(): void {
21 $x = <x:xx k={Map {}}></x:xx>;