Given this small program, which compiles and run without error:
```d
module m;
void oops(){}
void main() {
void oops();
}
```
there could be an error for `main.oops` because
1. local body-less funcdecls have no use.
2. possibly the author was super-tired and meant to call `m.oops`.
Comment #1 by b2.temp — 2024-10-03T09:37:07Z
local body-less **non-extern** funcdecls have no use.
Comment #2 by robert.schadek — 2024-12-13T19:37:43Z