Commit fb86c393 authored by Ken Thompson's avatar Ken Thompson

bug with array bounds

R=r
OCL=16021
CL=16023
parent 8545700a
......@@ -806,6 +806,7 @@ addtyp(Type *n, Type *t, int ctxt)
t->sym = s;
t->vargen = vargen;
dowidth(t);
for(f=s->forwtype; f!=T; f=f->nforw) {
if(!isptr[f->etype])
fatal("addtyp: forward");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment