summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/00619-Issue_3169.c
blob: 848e451e915663aaf30de03fd3419e000d14785a (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
#include <stdint.h>

void bar (void)
{

  int32_t       result;
  const int32_t other
    = 7;
}

#define P(bits)                   \
  void foo(void)                  \
  {                               \
                                  \
    int##bits##_t       result15; \
    const int##bits##_t other     \
      = 7;                        \
  }

#define Q(value)            \
  void baz(void)            \
  {                         \
                            \
    int32_t       result24; \
    const int32_t other     \
      = 7;                  \
  }

P(32)
Q(7)