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

          Issue ID: 23075
           Summary: global const string definitions should go in readonly
                    segment
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

const char s[6] = "hello";

should put `s` into the readonly section, instead it gets placed in the regular
mutable data section.

--

Reply via email to