summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/c/vb-pp.c
blob: 5ea209c58ae58eebc95ef29267e37f0084bc03c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

void f() {
if(0)
#pragma omp atomic
i++;
}


void f() {
if(0)
#if foo
i++;
#else
i+=2;
#endif
}

void f()
{
while(108) {
if(42)
#pragma omp critical
{ }
if(23)
#pragma omp critical
++i;
while (16)
{ }
int i = 15;
if(8)
#pragma omp atomic
i += 4;
}
}