summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/c/02303-nl-cont2.c
blob: 853376b234436fe48530374fe664e4cccacff3fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#define FOO(bar) create_a_really_long_identifier name(some_function(bar1 + \
                                                                    bar2), bar3, \
                                                      bar4);

#define multilinemacro do { (x+5); } while (0); \
    printf("a multilinemacro"); \
    printf("a multilinemacro2");

int main(int argc, char *argv[])
{
    int a, b;
    a = 1; /* stupid comment \
            * b = 2; */

    return(a+b);
}