summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/oc/block_pointer.m
blob: 9c7ac70b65351038a8b22fd703bb4b850727c952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
__block __weak void (^ weak_recurseTreeNodes)(int a);
void (^ strong_recurseTreeNodes)(int a) = ^ (int a) {
};

the result file:
Foo^ foo = dynamic_cast<Bar^>(bar);
Foo* foo = dynamic_cast<Bar*>(bar);
x = a ^ b;
int main(Platform::Array<Platform::String^>^ /*args*/)
{
}

void (*fun_ptr)(int) = &fun;

typedef void (*foo)(void);
void (*foo)(void);