@vaporeon_ want to see some unholy c++ code
@wallhackio Yes
@vaporeon_ this compiles and prints "hello world"
#include <iostream>
int main() { while (1); }
void unreachable() { std::cout << "Hello, world!\n"; }
@wallhackio Not when I compile with g++ 15 on Linux
But think I've heard of the concept, that because infinite loops are ¿undefined behaviour?, it might execute whatever is after them... How to prevent it?
@vaporeon_ I have no idea why this works
@vaporeon_ yeah it worked for me