Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions clang/test/DebugInfo/ObjC/property-basic.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Checks basic debug-info generation for property. Makes sure we
// create a DIObjCProperty for the synthesized property.

// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s

// CHECK: !DIObjCProperty(name: "p1"
// CHECK-SAME: attributes: 2316
// CHECK-SAME: type: ![[P1_TYPE:[0-9]+]]
//
// CHECK: ![[P1_TYPE]] = !DIBasicType(name: "int"

@interface I1 {
int p1;
}
@property int p1;
@end

@implementation I1
@synthesize p1;
@end
15 changes: 0 additions & 15 deletions clang/test/DebugInfo/ObjC/property.m

This file was deleted.