July 04, 2018 [Issue 19059] New: Invalid integer literal 08 and 09 allowed | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19059 Issue ID: 19059 Summary: Invalid integer literal 08 and 09 allowed Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: trivial Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: kubo39@gmail.com --- void main() { assert(08 == 8); // can compile and run. assert(09 == 9); } -- |
Copyright © 1999-2021 by the D Language Foundation