summaryrefslogtreecommitdiff
path: root/test/PCH/objc_property.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/objc_property.m')
-rw-r--r--test/PCH/objc_property.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/PCH/objc_property.m b/test/PCH/objc_property.m
index b51cd90927ae5..88a091928050f 100644
--- a/test/PCH/objc_property.m
+++ b/test/PCH/objc_property.m
@@ -5,6 +5,8 @@
// RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_property.h
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
+// expected-no-diagnostics
+
void func() {
TestProperties *xx = [TestProperties alloc];
xx.value = 5;