summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/property-agrr-getter.m
blob: 0a1df123bffe0657f9928bc10282927fd0d1a7ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s

typedef struct {
  unsigned f0;
} s0;

@interface A
- (s0) f0;
@end

@implementation A
-(s0) f0{}
- (unsigned) bar {
  return self.f0.f0;
}
@end

OpenPOWER on IntegriCloud