[Issue 19059] New: Invalid integer literal 08 and 09 allowed
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Jul  4 20:54:59 UTC 2018
    
    
  
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 at puremagic.com
          Reporter: kubo39 at gmail.com
---
void main()
{
    assert(08 == 8); // can compile and run.
    assert(09 == 9);
}
--
    
    
More information about the Digitalmars-d-bugs
mailing list