summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00069-vb-pp.c
blob: 9fb79a06efcb5ee430b9fc68f1430f85ca30918d (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49

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;
      }
   }
}