xxxxxxxxxx
struct Foo
{
string good;
deprecated alias bad = good;
}
void main()
Foo f;
string good = f.bad;
static assert(__traits(isDeprecated, f.bad));