summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/bug_i_359.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/bug_i_359.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/bug_i_359.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/bug_i_359.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/bug_i_359.cpp
new file mode 100644
index 00000000..294e3afb
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/bug_i_359.cpp
@@ -0,0 +1,14 @@
+int main()
+{
+ int foo = 42;
+ switch (foo) {
+ case 1:
+ std::cout << "1" << std::endl;
+ break;
+ case 2:
+ std::cout << "2" << std::endl;
+ break;
+ default:
+ std::cout << "Neither 1 nor 2." << std::endl;
+ }
+}