blob: 0a92b766788b8d570a5e0fd9f66e04016b2a889b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// REQUIRED_ARGS: -w
// PERMUTE_ARGS:
/*
TEST_OUTPUT:
---
fail_compilation/warn13679.d(14): Warning: cannot use foreach_reverse with an associative array
---
*/
void main()
{
int[int] aa;
foreach_reverse(k, v; aa) {}
}
|