deprecated @disable int foo;
int zoo = foo;
Found by clang's static analysis.
http://octarineparrot.com/assets/dmd/report-KMPT7S.html#EndPath
In: void Dsymbol::checkDeprecated(Loc loc, Scope *sc)
616 if (d && d->storage_class & STCdisable)
<7> Taking true branch
617 {
618 if (!(sc->func && sc->func->storage_class & STCdisable))
<8> Access to field 'func' results in a dereference of a null pointer (loaded from variable 'sc')