[Issue 17837] New: Static array initializers longer than array length should not be allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 18 05:42:32 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17837

          Issue ID: 17837
           Summary: Static array initializers longer than array length
                    should not be allowed
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: dlang-bugzilla at thecybershadow.net

void main()
{
    char[2] str = "0123456789abcdef";
}

--


More information about the Digitalmars-d-bugs mailing list