From 2b2523da9da3d293f8fa55e0246feca4d54e9911 Mon Sep 17 00:00:00 2001 From: anon <anon@anon.anon> Date: Tue, 10 Dec 2024 20:39:01 +0100 Subject: [PATCH] Added 'C_C++/no_way.cpp' --- C_C++/no_way.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 C_C++/no_way.cpp diff --git a/C_C++/no_way.cpp b/C_C++/no_way.cpp new file mode 100644 index 0000000..ed8326b --- /dev/null +++ b/C_C++/no_way.cpp @@ -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! +*/