https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77601
--- Comment #1 from lh_mouse <lh_mouse at 126 dot com> --- Oops, the last line in `main()` should have been constexpr bool b3 = is_same<int, int>{}; And as the comment before that line says, it works with g++.