summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/parenthesized_indirect_call.c
blob: 3d5a6819f4d3f3c731d0696423562213fa95995c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

void hello(void)
{
        printf("Hello world!\n");
}

void (*get_hello(void))(void)
{
        return hello;
}

int main()
{
        (get_hello())();
        return 0;
}