summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/oc/gh293.m
blob: bb4cb52c0c899bfaf3281f76e6241e2adaac3747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
self.someErrorView = ({
    UIView *view = [[UIView alloc] init];
    view.backgroundColor = [UIColor redColor];
    [view addSubview:({
        self.someErrorLabel = ({
            UILabel *label = [[UILabel alloc] init];
            label.textAlignment = NSTextAlignmentCenter;
            label.backgroundColor = [UIColor clearColor];
            label;
        });
    })];
    view;
});
[self.view addSubview:self.someErrorView];