blob: ebc23fb352e736dc9122c55589f9fa496cea74c0 [file] [log] [blame]
fail_compilation/newaa.d(14): Error: cannot implicitly convert expression `new string[string]` of type `string[string]` to `int[string]`
fail_compilation/newaa.d(15): Error: function expected before `()`, not `new int[int]` of type `int[int]`
fail_compilation/newaa.d(17): Error: `new` cannot take arguments for an associative array
#line 9
void main()
string[string] crash = new string[string];
int[string] c = new typeof(crash);
auto d = new int[int](5);
alias AA = char[string];
auto e = new AA(5);