template struct Foo; typedef Foo Bar; template struct [[clang::preferred_name(Bar)]] Foo {}; template struct Baz { Foo member; };