summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_3097.cpp
blob: 3959e85a737650ddec17216c84c09957f14d1b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
void foo()
{
    for( unsigned p = 0; p < np;
         ++p )
    {
      double* o = bar[p];
    }
    int x = 42;
}

void bar()
{
    // hello
    int x  = 42;
    if( x ) foo;
    type::value_t y = 0;
}