summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/debug-property-synth.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/debug-property-synth.m')
-rw-r--r--clang/test/CodeGenObjC/debug-property-synth.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGenObjC/debug-property-synth.m b/clang/test/CodeGenObjC/debug-property-synth.m
index 124c61ea88c..ddcf4d998c5 100644
--- a/clang/test/CodeGenObjC/debug-property-synth.m
+++ b/clang/test/CodeGenObjC/debug-property-synth.m
@@ -7,6 +7,10 @@
@interface I {
int _p1;
}
+@property int p1;
+@end
+
+@implementation I
// Test that the linetable entries for the synthesized getter and
// setter are correct.
//
@@ -22,10 +26,6 @@
// CHECK: ![[DBG1]] = !DILocation(line: [[@LINE+3]],
// CHECK: !DISubprogram(name: "-[I setP1:]",{{.*}} line: [[@LINE+2]],{{.*}} DISPFlagLocalToUnit | DISPFlagDefinition
// CHECK: ![[DBG2]] = !DILocation(line: [[@LINE+1]],
-@property int p1;
-@end
-
-@implementation I
@synthesize p1 = _p1;
@end
OpenPOWER on IntegriCloud