summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/oc/typeof.m
blob: d5183a1d4b42a9339c9dfab333282e95c801fd34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import <Foundation/Foundation.m>

@implementation MyViewController

- (void)method1 {
    __weak __typeof(self)weakSelf1 = self;
    __weak typeof(self)weakSelf2 = self;
    __weak MyViewController *weakSelf3 = self;
    NSString* srcStr = [[NSString alloc] initWithBytes: kShaderSource length: sizeof(kShaderSource) encoding: NSASCIIStringEncoding];
}

@end