You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
256 B
16 lines
256 B
4 years ago
|
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;
|