summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/oc/50074-blocks.m
blob: cb523489be7593bd5a53b987a216f93f39bce6a9 (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;