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