summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30940-case-brace-remove.cpp
blob: cd16357001c613505cb7a7f0d6c166ac6eb30614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
int SomeClass::method()
{
   switch (1)
   {
   case 0:
      {
         double v;
         break;
      }

   case 1:
      {
         double v;
         v = this->mat.operator()(0, 0);
         break;
      }

   case 2:
      foo();
   }
}