summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/33083-bug_i_359.cpp
blob: 8081c1f9074292e0a81eab6f1371ae77dfbe0603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
    }
}