| 1 |
// https://issues.dlang.org/show_bug.cgi?id=24745 |
| 2 |
|
| 3 |
/* |
| 4 |
TEST_OUTPUT: |
| 5 |
--- |
| 6 |
fail_compilation/test24745.d(12): Error: incorrect syntax for associative array, expected `[]`, found `{}` |
| 7 |
--- |
| 8 |
*/ |
| 9 |
|
| 10 |
void main() |
| 11 |
{ |
| 12 |
int[int] f = {1: 1, 2: 2}; |
| 13 |
} |