[Issue 527] New: Compiler crash when use array in template argument
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Nov 15 19:41:13 PST 2006
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=527
           Summary: Compiler crash when use array in template argument
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: lovesyao at hotmail.com
template test(int[] arr){
  const int test=arr[0];
}
static assert(test!([1])==1);
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list