https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103295

--- Comment #4 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #3)
> This could be an unimplemented feature in clang with respect to C++23 by the
> way.

Same code works with clang --target=x86_64-windows-msvc.

D:\hg\fast_io\tests\0003.concat>clang++ -o constexpr_clang_msvcstl.exe
constexpr.cc -Ofast -std=c++20 -s -flto -march=native -I../../include
--target=x86_64-windows-msvc -fuse-ld=lld -D_DLL=1 -lmsvcrt

Reply via email to