https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93607
Fedor Chelnokov <fchelnokov at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fchelnokov at gmail dot com --- Comment #2 from Fedor Chelnokov <fchelnokov at gmail dot com> --- The warning is missed in not-template case as well: ``` struct A{}; using B [[deprecated]] = A; int main() { B{}; //no GCC warning here } ``` Here both Clang and MSVC show warnings, but not GCC. Online demo: https://gcc.godbolt.org/z/9eeTqPPfz