summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/debug-property-synth.m
blob: 05852b7e29254a6eebdcf88ef21c50322511d5ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s
// Radar 9468526
@interface I {
  int _p1;
}
@property int p1;
@end

@implementation I
@synthesize p1 = _p1;
@end

int main() {
  I *myi;
  myi.p1 = 2;
  return 0;
}

// CHECK:       .loc    2 10 0
OpenPOWER on IntegriCloud