summaryrefslogtreecommitdiff
path: root/switch-test.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-08-29 16:24:16 +0200
committerOskar <[email protected]>2024-08-29 16:24:16 +0200
commite039d589d29ab799c20fe845d5a005dc257f9a44 (patch)
tree6d89c035ee7c059813e0d34a8dc21f500ad27c1f /switch-test.cpp
parent5cff617b2aa2148773256eed1a00607e0189529b (diff)
more
Diffstat (limited to 'switch-test.cpp')
-rw-r--r--switch-test.cpp25
1 files changed, 25 insertions, 0 deletions
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 <iostream>
+
+/*
+ *
+ *
+ *
+ *
+ */
+
+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;
+}