The same code in C, gets stuck in an infinite loop when compiled with clang, and goes to the unreachable part when the same code is renamed to file.cpp
https://fd.discuss.systems/media_attachments/files/109/831/906/426/530/048/original/fc382b73710cc383.png