From e039d589d29ab799c20fe845d5a005dc257f9a44 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 29 Aug 2024 16:24:16 +0200 Subject: more --- switch-test.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 switch-test.cpp (limited to 'switch-test.cpp') diff --git a/switch-test.cpp b/switch-test.cpp new file mode 100644 index 0000000..1f6171d --- /dev/null +++ b/switch-test.cpp @@ -0,0 +1,25 @@ +#include + +/* + * + * + * + * + */ + +int main () { + + int j = 0; + constexpr int ff = 0; + constexpr int ff2 = 2; + switch(j) { + case ff: + std::cout << "!!!" << std::endl; + break; + case ff2: + + break; + } + + return 0; +} -- cgit v1.2.3