www.digitalmars.com         C & C++   DMDScript  

D - [BUG](low) forbidden hiding of local variable not reported

dmd 0.79, WIN98SE:

void main(){
  int i=1;
  { int i;
    printf("%d\n",i);
  }
  switch( true){
    int i;
    case true:
    printf("%d\n",i);
  }
}

ouputs:
| 0
| 4263124

So long.
Feb 05 2004