www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4485] New: CT only arrays appear in executable

http://d.puremagic.com/issues/show_bug.cgi?id=4485

           Summary: CT only arrays appear in executable
           Product: D
           Version: D1
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: strtr despam.it


--- Comment #0 from strtr despam.it 2010-07-18 19:54:28 PDT ---
----
module main;

const char[] CT_STRING = "int i=0;";

void main(){
    mixin( CT_STRING );
}
----
The string can be found in the executable.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 18 2010