https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115797
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-07-05 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=69386 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- We have a test verifying that it works, 17_intro/headers/c++2011/linkage.cc But it doesn't fail here because it's only run for -std=gnu++11 and <cmath> only includes <type_traits> for C++17 an up.