aboutsummaryrefslogtreecommitdiff
path: root/clang/test/DebugInfo/ObjC/property-auto-synth.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/DebugInfo/ObjC/property-auto-synth.m')
-rw-r--r--clang/test/DebugInfo/ObjC/property-auto-synth.m13
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/test/DebugInfo/ObjC/property-auto-synth.m b/clang/test/DebugInfo/ObjC/property-auto-synth.m
new file mode 100644
index 0000000..5e961d4
--- /dev/null
+++ b/clang/test/DebugInfo/ObjC/property-auto-synth.m
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
+
+// CHECK-NOT: setter
+// CHECK-NOT: getter
+
+@interface I1
+@property int p1;
+@end
+
+@implementation I1
+@end
+
+void foo(I1 *ptr) {}