summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50073-blocks.m
blob: 06a9cd78c2054abc94afc26f1ef2ba965ddc50d7 (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;