summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/Issue_3454.c
blob: 8be230ddd25c085c23f56d4be69181039f198905 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
int array1[] = { 1
    , 2
    , 3 };

int array2[] = {1
              , 2
              , 3};

int array3[] = { 1
               , 2
               , 3 };

int array4[] = {  1
                , 2
                , 3 };

int array5[] = {   1
                 , 2
                 , 3 };

int function1( int a
    , int b
    , int c );

int function2(int a
            , int b
            , int c);

int function3( int a
             , int b
             , int c );

int function4(  int a
              , int b
              , int c );

int function5(   int a
               , int b
               , int c );

int function1( int a
    , int b
    , int c )
{
    return a + b + c;
}

int function2(int a
            , int b
            , int c)
{
    return a + b + c;
}

int function3( int a
             , int b
             , int c )
{
    return a + b + c;
}

int function4(  int a
              , int b
              , int c )
{
    return a + b + c;
}

int function5(   int a
               , int b
               , int c )
{
    return a + b + c;
}

int main(void)
{
    function1( 1
        , 2
        , 3 );

    function2(1
            , 2
            , 3);

    function3( 1
             , 2
             , 3 );

    function4(  1
              , 2
              , 3 );

    function5(   1
               , 2
               , 3 );

    return 0;
}