mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
14 lines
212 B
D
14 lines
212 B
D
// REQUIRED_ARGS: -w
|
|
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/warn13679.d(13): Error: cannot use `foreach_reverse` with an associative array
|
|
---
|
|
*/
|
|
|
|
void main()
|
|
{
|
|
int[int] aa;
|
|
foreach_reverse(k, v; aa) {}
|
|
}
|