www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [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);
}

--
Jul 04 2018