summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/case-brace-remove.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/case-brace-remove.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/case-brace-remove.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/case-brace-remove.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/case-brace-remove.cpp
new file mode 100644
index 00000000..421ff658
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/case-brace-remove.cpp
@@ -0,0 +1,22 @@
+int SomeClass::method()
+{
+ switch (1) {
+ case 0:
+ {
+ double v;
+ break;
+ }
+
+ case 1:
+ {
+ double v;
+ v = this->mat.operator()(0, 0);
+ break;
+ }
+
+ case 2:
+ {
+ foo();
+ }
+ }
+}