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

--- Comment #25 from Zartaj Majeed <zmajeed at sbcglobal dot net> ---
Just tried latest Clang and VC++ on my test program int_coroutine.cpp

Both compilers behave the same as GCC built from master

-----------------

Clang 20.1.7

clang -std=c++26 -o int_coroutine.clang int_coroutine.cpp &&
./int_coroutine.clang

IntRO.destructor: destroy own coro 0x150b1696420
main: int coroutine returned 13, expected 13

-----------------

VC++ 19.44.35209 from Visual Studio 2022 17.14.5 Preview 1

cl -nologo -std:c++latest -EHsc -Fe:int_coroutine.vc.exe int_coroutine.cpp &&
./int_coroutine.vc

IntRO.destructor: destroy own coro 0xad4360
main: int coroutine returned 13, expected 13

-----------------

Reply via email to