summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50511-gh293.m
blob: 6e4c180a446cb1e6ef57899e9e186b7c68b75bb1 (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];