summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50074-blocks.m
blob: 467387b4a7d9f7f457a5d47d82593a43f41bd5ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int *(^  blkReturningPointer)(int) = ^ int *(int a) {
    return a + 1;
};

void (^ blk2)(int *) = ^ (int *b) {
    *b = 1;
};


int (^oneFrom)(int) = ^ (int anInt) {
    return anInt - 1;
};

// this should not be flagged as OC_BLOCK_CARET
int x = 12 ^ 23;