Added 'C_C++/no_way.cpp'

This commit is contained in:
anon 2024-12-10 20:39:01 +01:00
parent e28423b438
commit 2b2523da9d

22
C_C++/no_way.cpp Normal file
View File

@ -0,0 +1,22 @@
// @BAKE g++ $@ -O1 -Wall
#include <iostream>
int main() {
while (1)
;
}
void unreachable() {
std::cout << "Hello world!" << std::endl;
}
/*
clang version 18.1.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
$ a.out
Hello world!
*/