summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/10021-parenthesized_indirect_call.c
blob: 7fd4d5735d93a936bddf1d85e58dcb95e6e42e1b (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;
}