[Issue 1119] Internal error: ../ztc/cgcod.c 2190 (template instantiation)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 10 10:38:38 PDT 2007


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


deewiant at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
         OS/Version|Linux                       |All




------- Comment #2 from deewiant at gmail.com  2007-04-10 12:38 -------
Reduced version:

import std.intrinsic;

private class Node(uint level, uint nlog)
{
  Node!(level-1, nlog/2) bottom;
}

private class Node(uint level : 0, uint nlog : 5)
{
  uint leaf;

  uint min()
  {
        return leaf == 0 ? 0 : bsf(leaf);
  }
}

alias Node!(2, 20) tree;


-- 



More information about the Digitalmars-d-bugs mailing list