summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/case-brace-remove.cpp
blob: 421ff6580d8edba362e131342f58f6598a8dcdd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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();
  }
  }
}