digitalmars.D.bugs - [Issue 13064] New: Redundant `auto` storage class is allowed for
- via Digitalmars-d-bugs (21/21) Jul 07 2014 https://issues.dlang.org/show_bug.cgi?id=13064
https://issues.dlang.org/show_bug.cgi?id=13064 Issue ID: 13064 Summary: Redundant `auto` storage class is allowed for functions Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: accepts-invalid Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: verylonglogin.reg gmail.com This code compiles but shouldn't: --- auto void f() { } --- Note that `auto int i;` is already rejected. --
Jul 07 2014