[dmd-internals] runnable/interpret.d + -O == failure

Brad Roberts braddr at puremagic.com
Thu Oct 21 01:00:36 PDT 2010


reduced down to this subset of the file:

====================
struct S { int x; }

int badfoo2(){
   S[] c;
   c[7].x=6;  // uninitialized error
   return 7;
}

template Compileable(int z) { bool OK;}
static assert(!is(typeof(Compileable!(badfoo2()).OK)));

int main() { return 0; }
====================



More information about the dmd-internals mailing list