summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/oc/50070-blocks.m
blob: 5b8e5d35a2cfa98575f44278c65bc5ed0fb614dc (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;