=== tests/cases/compiler/badArraySyntax.ts ===
class Z {
>Z : Z

 public x = "";
>x : string
>"" : ""
}

var a1: Z[] = [];
>a1 : Z[]
>[] : undefined[]

var a2 = new Z[];
>a2 : any
>new Z[] : any
>Z[] : any
>Z : typeof Z
> : any

var a3 = new Z[]();
>a3 : any
>new Z[]() : any
>Z[] : any
>Z : typeof Z
> : any

var a4: Z[] = new Z[];
>a4 : Z[]
>new Z[] : any
>Z[] : any
>Z : typeof Z
> : any

var a5: Z[] = new Z[]();
>a5 : Z[]
>new Z[]() : any
>Z[] : any
>Z : typeof Z
> : any

var a6: Z[][] = new   Z     [      ]   [  ];
>a6 : Z[][]
>new   Z     [      ]   [  ] : any
>Z     [      ]   [  ] : any
>Z     [      ] : any
>Z : typeof Z
> : any
> : any

